- 30 Nov, 2004 4 commits
-
-
Thomas Graf authored
Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Stephen Hemminger authored
Alternate workaround for blocking usage of select() by UDP applications. The problem is Linux optimizes the UDP receive checksum path so that checksum validation is not performed until the application read. This is a performance win but can cause applications that do select with blocking file descriptors to get false positives if the received message has a checksum error. There is a long running thread about this on LKML. This patch makes these applications work, but keeps the one-pass performance gain for those applications smart enough to use non-blocking file descriptors with select/poll. There is still a possibility to get a false positive if application does select on non-blocking fd then makes it blocking before doing the receive, but that is unlikely. Tested by injecting bad packets with SOCK_RAW. Signed-off-by: Stephen Hemminger <shemminger@osdl.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Mitchell Blank Jr. authored
While looking at the SCM passing code in net/core/scm.c I noticed that there's a 32-bit compat implementation of scm_detach_fds()'s called scm_detach_fds_compat() living in net/compat.c. While these two functions are mostly the same the latter does not include the call to the security_file_receive() hook which is almost certainly a bug. Signed-off-by: Mitchell Blank Jr <mitch@sfgoth.com> Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Scott Feldman authored
Signed-off-by: Scott Feldman <sfeldma@pobox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
- 29 Nov, 2004 19 commits
-
-
bk://kernel.bkbits.net/davem/net-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Rusty Russell authored
If we're waiting on a futex and we are woken up, it's either because someone did FUTEX_WAKE, we timed out, or have been signalled. However, the WARN_ON(!signal_pending(current)) test is overzealous: with threads (a common use of futexes), we share the signal handler and the other thread might get to the signal before us. In addition, exit_notify() can do a recalc_sigpending_tsk() on us, which will then clear our TIF_SIGPENDING bit, making signal_pending(current) return false. Returning EINTR is a little strange in this case, since this thread hasn't handled a signal. However, with threads it's the best we can do: there's always a race where another thread could have been the actual one to handle the signal. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Jesper Juhl authored
Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Patrick Caulfield authored
Signed-off-by: Patrick Caulfield <patrick@tykepenguin.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Hideaki Yoshifuji authored
We need to hold refcnt before releasing rt6_lock. Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Magnus Damm authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
bk://bk.skbuff.net:20610/linux-2.6-inet6/David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Ben Dooks authored
Patch from Ben Dooks Fixes from Koen Martens to update the register definitions for the MMC/SD/SDIO interface, tidied up for release with extra notes on what has been depreceated in later silicon. Signed-off-by: Koen Martens Signed-off-by: Ben Dooks Signed-off-by: Russell King
-
Ben Dooks authored
Patch from Ben Dooks If one of the devices fails to register, do not remove any registered devices and continue registering in case any more devices register. Signed-off-by: Ben Dooks Signed-off-by: Russell King
-
Russell King authored
-
James Bottomley authored
Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Domen Puncer authored
Indentiation and logic suggest this was wrong. Signed-off-by: Domen Puncer <domen@coderock.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Patterson authored
This patch fixes an an "off-by-one" error found in the CCISS_GETLUNIFO ioctl in the cciss driver. It is cycling through the part table of the gendisk structure which is a zero-based array, not a one-based array. This often causes an oops when referencing the out-of-bounds element. Signed-off by: Andrew Patterson <andrew.patterson@hp.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Antonino Daplas authored
The field info->modelist is initialized during register_framebuffer. This field is also referred to in fb_set_var(). Thus a call to fb_set_var() before register_framebuffer() will cause a crash. A few drivers do this, notably controlfb. (This might fix reports of controlfb crashing in powermacs). Signed-off-by: Antonino Daplas <adaplas@pol.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andi Kleen authored
Patch from Petr Vandrovec <vandrove@vc.cvut.cz> Recently I've observed problems with IDE disks while running UP kernel on x86-64 - it complained a lot about lost irq from hda/hdc. I tracked problem down to the problem that at enable_irq() code calls hw_resend_irq(), but on x86-64 hw_resend_irq() does something useful only when CONFIG_SMP is defined, on UP systems it does nothing. Due to this IRQ is lost - and when IDE retries command, it can again happen that IRQ is delivered before IDE code does enable_irq(), and again and again, unless due to drive being lazy finally once kernel does enable_irq() before drive prepares its answer, and things move forward ... to next lost IRQ. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Dmitry Torokhov authored
Fix permissions on module parameters exported via sysfs. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Michael Kerrisk authored
The accounting of shmctl() SHM_LOCK memory locks against the user structure is broken. The check of the size of the to-be-locked region is based on the size of the segment as specified when it was created by shmget() (this size is *not* rounded up to a page boundary). Fix it by rounding the size properlt. Also, tune up the spinlock coverage in there a little. Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Andrew Morton authored
Revert my version of this fix and apply Scott's version, which was acked by the e100 maintainers. Also, initialise the spinlocks before calling e100_hw_reset(), so things don't instantly deadlock on SMP. Signed-off-by: Scott Feldman <sfeldma@pobox.com> Cc: Jeff Garzik <jgarzik@pobox.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 28 Nov, 2004 15 commits
-
-
bk://bk.arm.linux.org.uk/linux-2.6-mmcLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-serialLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Holger Freyther authored
Patch from Holger Hans Peter Freyther Line numbers could depend on 2279/1 Change the maintainer of the SIMpad board to me. This change was discussed on the simpad linux mailinglist and was supported by the former maintainer of SIMpad. I'll subscribe and introduce myself shortly on the arm linux mailinglist and ask for SIMpad not to be removed. Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King
-
Holger Freyther authored
Patch from Holger Hans Peter Freyther The SIMpad uses the MediaQ 200 framebuffer device. There is no driver in the vanilla kernel for that device. But adding the device to the platform bus makes it possible to just drop the mq200 driver into the kernel and the display will work. Please consider applying the patch. Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King
-
Holger Freyther authored
Patch from Holger Hans Peter Freyther Add a default config file for simpad Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King
-
Holger Freyther authored
Patch from Holger Hans Peter Freyther Fix warnings emitted by the compiler for leds-simpad.c and sa1100_simpad.c Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King
-
Holger Freyther authored
Patch from Holger Hans Peter Freyther Fix compile of simpad.c .... Signed-off-by: Holger Hans Peter Freyther Signed-off-by: Russell King
-
Alexander Viro authored
* switched to ioremap() + normal operations * split msnd_fifo_write() (and msnd_fifo_read()) into iomem and normal versions (original was even worse - it used to do __user and __iomem versions in the same code and in atomic context; when that bogosity got fixed, the difference between these cases (now normal memory and iomem) had been lost). Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
direct dereferencing of iomem pointer (by memcmp()) Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
* switched to ioremap() * switched to normal iomem operations * killed a bunch of phys_to_virt() * killed open-coded (and inferior) instances of memcpy_toio()/memcpy_fromio(). * fixed a dumb typo introduced in "kill off isa_check_signature()" patch (sorry - missed the fact that it was not covered by allmodconfig and didn't verify until after sending the patch in question ;-/). Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
switched to ioremap() + normal iomem operations Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alexander Viro authored
switched to ioremap() + normal iomem primitives. Signed-off-by: Al Viro <viro@parcelfarce.linux.theplanet.co.uk> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 27 Nov, 2004 2 commits
-
-
Nicolas Pitre authored
Patch from Nicolas Pitre ... with a bit of reorg to make the core code a bit more generic too. Signed-off-by: Nicolas Pitre Signed-off-by: Russell King
-
Russell King authored
-