- Nov 23, 2005
-
-
Jens-Michael Hoffmann authored
This patch contains fixes by LIndent. Signed-off-by:
Jens-Michael Hoffmann <jensmh@gmx.de> Signed-off-by:
Jody McIntyre <scjody@modernduck.com>
-
Jens-Michael Hoffmann authored
This patch contains fixes by LIndent. Signed-off-by:
Jens-Michael Hoffmann <jensmh@gmx.de> Signed-off-by:
Jody McIntyre <scjody@modernduck.com>
-
Jens-Michael Hoffmann authored
This patch contains fixes by LIndent. Signed-off-by:
Jens-Michael Hoffmann <jensmh@gmx.de> Signed-off-by:
Jody McIntyre <scjody@modernduck.com>
-
Jens-Michael Hoffmann authored
This patch contains fixes by LIndent. Signed-off-by:
Jens-Michael Hoffmann <jensmh@gmx.de> Signed-off-by:
Jody McIntyre <scjody@modernduck.com>
-
Jody McIntyre authored
Don't read the keyval if there's already a valid one in place. May not be necessary but shouldn't hurt. Signed-off-by:Jody McIntyre <scjdy@steamballoon.com>
-
Jody McIntyre authored
csr1212_parse_csr() did not properly check return values when reading keyvals. Fix this by using _csr1212_read_keyval() instead of csr1212_get_keyval() and checking the return code. Signed-off-by:Jody McIntyre <scjody@steamballoon.com>
- Nov 22, 2005
-
-
-
Linus Torvalds authored
-
Linus Torvalds authored
-
-
Stefan Richter authored
raw1394: use correct deallocation macro for CSR cache Signed-off-by:
Stefan Richter <stefanr@s5r6.in-berlin.de> Signed-off-by:
Jody McIntyre <scjody@modernduck.com>
-
Adrian Bunk authored
The coverity checker spotted that this was a NULL pointer dereference in the "if (copy_from_user(...))" case since the next step is to kfree(cache->filled_head). There's no need to free cache at this point, and it's getting free'd later. Signed-off-by:
Adrian Bunk <bunk@stusta.de> Signed-off-by:
Jody McIntyre <scjody@modernduck.com>
-
Russ Anderson authored
The nasid_index was not being incremented if the pointer was null, causing an infinite loop. Signed-off-by:
Russ Anderson <(rja@sgi.com)> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
Jack Steiner authored
Add support for old versions of the SN PROMs. Eventually this support will be deleted but it is useful right now to continue supporting older PROMs. Signed-off-by:
Jack Steiner <steiner@sgi.com> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
hawkes@sgi.com authored
The kernel's use of the for_each_*cpu(i) macros has allowed for sparse CPU numbering. When I hacked the kernel to test sparse cpu_present_map[] and cpu_possible_map[] cpumasks, I discovered one remaining spot, in sn_hwperf_ioctl() during sn initialization, that needs to be fixed. Signed-off-by:
John Hawkes <hawkes@sgi.com> Signed-off-by:
Dean Roe <roe@sgi.com> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
Prarit Bhargava authored
Patch to prevent sn2_ptc_init code from attempting to load on non-sn2 systems when sn2_smp.c is built-in to generic kernel. Signed-off-by:
Prarit Bhargava <prarit@sgi.com> Signed-off-by:
Tony Luck <tony.luck@intel.com>
-
Jens Axboe authored
Kill the arq->state poison statement in as_add_request(), it can trigger for perfectly valid code that just reuses a request after io completion instead of freeing it and allocating a new one. We probably should introduce a blk_init_request() to start from scratch, but for now just kill it as we will be removing the as specific poisoning soon. Signed-off-by:
Jens Axboe <axboe@suse.de> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Linus Torvalds authored
-
Linus Torvalds authored
-
Russell King authored
Signed-off-by:Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
core.c:263: warning: initialization makes integer from pointer without a cast Signed-off-by:Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
assabet.c:291: warning: 'scr' may be used uninitialized in this function Signed-off-by:Russell King <rmk+kernel@arm.linux.org.uk>
-
- Nov 21, 2005
-
-
Russell King authored
Signed-off-by:Russell King <rmk+kernel@arm.linux.org.uk>
-
Russell King authored
Since the defintion of NODES_SHIFT may be overridden in asm/arch/memory.h it's important to include asm/memory.h into asm/numnodes.h to ensure that the correct value is always defined. Signed-off-by:Russell King <rmk+kernel@arm.linux.org.uk>
-
Kenneth Tan authored
Patch from Kenneth Tan To add queue manager region size which is missing from ixp4xx-regs.h Signed-off-by:
Kenneth Tan <chong.yin.tan@intel.com> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Dirk Opfer authored
Patch from Dirk Opfer Fix an error in tosa.c after the platform device conversion. Signed-off-by:
Dirk Opfer <Dirk@Opfer-Online.de> Signed-off-by:
Russell King <rmk+kernel@arm.linux.org.uk>
-
Dave Jones authored
-
Dave Jones authored
Signed-off-by:Dave Jones <davej@redhat.com>
-
Randy Dunlap authored
Fix kernel-doc warnings in network files. Signed-off-by:
Randy Dunlap <rdunlap@xenotime.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Patrick McHardy authored
Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Patrick McHardy authored
Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Nicolas Kaiser authored
Signed-off-by:
Nicolas Kaiser <nikai@nikai.net> Signed-off-by:
Harald Welte <laforge@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Yasuyuki Kozakai authored
- IP_NF_CONNTRACK_MARK is bool and depends on only IP_NF_CONNTRACK which is tristate. If a variable depends on IP_NF_CONNTRACK_MARK and doesn't care about IP_NF_CONNTRACK, it can be y. This must be avoided. - IP_NF_CT_ACCT has same problem. - IP_NF_TARGET_CLUSTERIP also depends on IP_NF_MANGLE. Signed-off-by:
Yasuyuki Kozakai <yasuyuki.kozakai@toshiba.co.jp> Signed-off-by:
Harald Welte <laforge@netfilter.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Patrick McHardy authored
Don't show local table to behave similar to fib_hash. Signed-off-by:
Patrick McHardy <kaber@trash.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Dmitry Torokhov authored
Fix an OOPS is CinergyT2 driver when registering IR remote Signed-off-by:
Dmitry Torokhov <dtor@mail.ru> Signed-off-by:
Linus Torvalds <torvalds@osdl.org>
-
Yan Zheng authored
addrconf_verify(...) only traverse address hash table when addrconf_hash_lock is held for writing, and it may hold addrconf_hash_lock for a long time. So I think it's better to acquire addrconf_hash_lock for reading instead of writing Signed-off-by:
Yan Zheng <yanzheng@21cn.com> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Alexandra Kossovsky authored
From: Alexandra Kossovsky <Alexandra.Kossovsky@oktetlabs.ru> From http://bugzilla.kernel.org/show_bug.cgi?id=4746 There is user data corruption when using ioctl(SIOCGIFCONF) in 32-bit application running amd64 kernel. I do not think that this problem is exploitable, but any data corruption may lead to security problems. Following code demonstrates the problem #include <stdint.h> #include <stdio.h> #include <sys/time.h> #include <sys/socket.h> #include <net/if.h> #include <sys/ioctl.h> char buf[256]; main() { int s = socket(AF_INET, SOCK_DGRAM, 0); struct ifconf req; int i; req.ifc_buf = buf; req.ifc_len = 41; printf("Result %d\n", ioctl(s, SIOCGIFCONF, &req)); printf("Len %d\n", req.ifc_len); for (i = 41; i < 256; i++) if (buf[i] != 0) printf("Byte %d is corrupted\n", i); } Steps to reproduce: Compile the code above into 32-bit elf and run it. You'll get Result 0 Len 32 Byte 48 is corrupted Byte 52 is corrupted Byte 53 is corrupted Byte 54 is corrupted Byte 55 is corrupted Signed-off-by:
Andrew Morton <akpm@osdl.org> Signed-off-by:
David S. Miller <davem@davemloft.net>
-
Kris Katterjohn authored
This way we don't have to check it in sk_run_filter(). Signed-off-by:
Kris Katterjohn <kjak@users.sourceforge.net> Signed-off-by:
David S. Miller <davem@davemloft.net>
-