- 07 Nov, 2003 1 commit
-
-
Alexander Viro authored
There's a few places that use incorrect exclusion for the cramfs raw data access buffers. The proper lock is "read_mutex" (and BKL does nothing). - fix mount-time read and block number initialization without the mutex held. - cramfs_readdir() needs to copy the name and inode information into a separate buffer since it can't hold the semaphore over the (potentially blocking) user mode access - cramfs_lookup() needs to hold the access lock over the whole function, not just the read itself - use generic_file_llseek on directories to get i_sem exclusion on readdir/lseek
-
- 06 Nov, 2003 5 commits
-
-
Krishna Kumar authored
-
Patrick McHardy authored
-
Jan Kara authored
From Herbert Xu
-
Jens Axboe authored
There's a problem with bio segment accounting for pages that reside above the bounce limit of a queue. When submitted, they may be considered part of another segment. A condition that changes when the page gets bounced. This can cause us to send bio's that have too many segments to a driver. The best fix is to always consider pages above q->bounce_pfn as seperate segments. That's the conservative approach and the easy fix. Problem identified and fixed by Herbert Xu.
-
Andrey Panin authored
This fixes visws subarch which was broken by asm-i386/hw_irq.h changes
-
- 05 Nov, 2003 13 commits
-
-
Linus Torvalds authored
From Ronald Lembcke.
-
bk://kernel.bkbits.net/davem/tg3-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
-
David S. Miller authored
- Missing spin_lock*() calls before tp->link_config twiddling. - Missing assignment to tp->link_config.autoneg
-
David S. Miller authored
IRDA was restoring IRQ flags in a different function from which they were saved which explodes on certain platforms. It did not need to use _irq{save,restore}() anyways since the seqfile layer always invokes these routines from user context with interrupts enabled, so using plain spin_{lock,unlock}_irq() works just fine.
-
Ville Nuorvala authored
-
Ville Nuorvala authored
-
Tim Shepard authored
-
Jean Tourrilhes authored
- Prevent 'self' leak on error in irlmp_open. ASSERT is compiled in only with DEBUG option => risk = 0. Original patch from Chris Wright.
-
Jean Tourrilhes authored
- Prevent sending status event to dead/kfree sockets - Disable PPP access before deregistration PPP deregistration might sleep -> race condition
-
Jean Tourrilhes authored
- Do not do copy_from_user() under spinlock - Always access self->skb under spinlock Original patch from Martin Diehl.
-
Hideaki Yoshifuji authored
-
Matthew Wilcox authored
This fixes a panic-at-boot when ACPI Hotplug PCI is compiled in, but ACPI is disabled. It just makes sure that the list is properly initialized statically instead of depending on runtime initialization that may or may not happen.
-
- 04 Nov, 2003 14 commits
-
-
bk://kernel.bkbits.net/davem/net-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/net-2.5
-
David S. Miller authored
into kernel.bkbits.net:/home/davem/sparc-2.5
-
David S. Miller authored
Bug noticed by Russell King.
-
Randy Dunlap authored
ioremap_nocache() doesn't need to check for physical address wraps because __ioremap() has already done that; fix calculation of npages to handle non-aligned phys_addr;
-
Jean Tourrilhes authored
-
David S. Miller authored
-
Stephen Hemminger authored
-
David S. Miller authored
-
Harald Welte authored
-
Rusty Russell authored
get_unique_tuple doesn't check that the tuple is unique if it finds a hash_by_src match.
-
Tom Marshall authored
-
Bartlomiej Zolnierkiewicz authored
Noticed by Stuart_Hayes@Dell.com: I've noticed that, in the 2.6 (test 9) kernel, the "cmd" field (of type int) in struct request has been removed, and it looks like all of the code in ide-tape has just had a find & replace run on it to replace any instance of rq.cmd or rq->cmd with rq.flags or rq->flags. The values being put into "cmd" in 2.4 (now "flags", in 2.6) by ide-tape are 8-bit numbers, like 90, 91, etc... and the actual flags that are being used in "flags" cover the low 23 bits. So, not only do the flags get wiped out when, say, ide-tape assigns, say, 90 to "flags", but also the 90 gets wiped out when one of the flags is modified. I noticed this, because ide-tape checks this value, and spews error codes when it isn't correct--continuously--as soon as you load the module, because ide-tape is calling ide_do_drive_cmd with an action of ide_preempt, which causes ide_do_drive_cmd to set the REQ_PREEMPT flag, so "flags" isn't the same when it gets back to idetape_do_request.
-
Bartlomiej Zolnierkiewicz authored
Set filp->private_data in idetape_chrdev_open() to point to a opened drive, otherwise driver oopses during future access to tape character device. Thanks to Stef van der Made <svdmade@planet.nl> for testing ide-tape fixes.
-
- 03 Nov, 2003 7 commits
-
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Adam Belay authored
Moving isapnp further down in the bus initialization obviously sparked some new problems. Instead, remove the legacy netdev probing function from dev.c and give it its own initcall later in the cycle.
-
Kochi Takayoshi authored
This patch prevents a crash that happens when per-CPU data is allocated only for CPUs that are online.
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/sparc-2.5
-
Ralf Bächle authored
Trivial build fix for the debug code in drivers PCI. Seems like nobody has had to use this code in a long time.
-
Alan Mayer authored
If sg->dma_address is set, we try to do a __pa() on a dma_address, then, later, create a dma_addresss from a munged dma_address. When this bogus dma_address is used by the card, it results in MCAs.
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-