- 11 Nov, 2003 9 commits
-
-
David S. Miller authored
- Mucking with the original skb pointers with push/pull around the packet quoting was wrong, muching with these pointers could cause problems with others using the SKB. It was also buggy, it only handled the case where skb->nh.raw was ahead of or equal to skb->data - The fix is to record skb->nh.raw - skb->data and use this as a base offset in calls to skb_copy_and_csum_bits(). This is what the pre-IPSEC code did. This fixes IPV6 oopses and packet corruption on 64-bit platforms when sending UDP port unreachable ICMP messages. Reported and analyzed by Jan Oravec (jan.oravec@6com.sk)
-
Julian Anastasov authored
-
Andrew Morton authored
-
Julian Anastasov authored
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Linus Torvalds authored
The bug is probably impossible to trigger on x86, due to its fairly strong coherency model (the SMP-safe bitops end up being memory barriers etc), but other architectures - notably ppc64 - can apparently trigger a race whereby the signal sender doesn't wake up the target because it doesn't notice that it has gone to sleep. The optimization also optimizes only what appears to be the uncommon case, where the signal happens for an already-running process.
-
Daniel McNeil authored
This makes the AIO submit path holds an extra reference until just before returning. This fixes the referencing a free kiocb. Without this patch the kernel will oops if the AIO completes early.
-
Linus Torvalds authored
Noticed by Petr Vandrovec. In the out-of-memory case, do_wp_page() would unlock page_table_lock twice - once before allocating, and once in the exit path. Rewrite the exit paths to be more readable, and don't try to share the code between all the exit cases, since they are very different.
-
- 10 Nov, 2003 12 commits
-
-
David S. Miller authored
- Delete fd_{enable,disable}_irq() interfaces, never used. - Move ebus_dma_irq_enable() calls into sun_pci_fd_{request,free}_irq().
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David Mosberger authored
-
Paul Jackson authored
Display of cpumask for /proc/irq/prof_cpu_mask has a botch in the print loop - should consume 2 bytes per loop.
-
http://lia64.bkbits.net/to-linus-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
David Mosberger authored
Found by Russell King.
-
Andries E. Brouwer authored
Since 2.6.x by default does not remap the disk partitions any more, it would be a good idea to warn when we see EZD or DM signatures. That informs the user to fix his setup (or pass in "hdx=remap" on the kernel command line).
-
bk://gkernel.bkbits.net/net-drivers-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
bk://gkernel.bkbits.net/libata-2.5Linus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Jeff Garzik authored
* flush host FIFO after sending data to DIMM window * don't set SCR addresses, as the hardware doesn't have SCRs (cosmetic)
-
- 09 Nov, 2003 19 commits
-
-
Andrew Morton authored
From: James Bottomley <James.Bottomley@SteelEye.com> The cpu_callout_map differs from the prototype in asm-i386/smp.h by a volatile. gcc-3.3 now treats this as an error, so voyager support will only compile with older gcc's. The fix is to remove the spurious volatile.
-
Andrew Morton authored
This fixes a JBD assertion failure (goes BUG) in __journal_remove_journal_head(). When the journal had aborted due to earlier internal consistency errors (or I/O errors) it is possible that we free journal_heads which still have attached copyout buffers. So just free them up.
-
Andrew Morton authored
From: Mike Tran <mhtran@us.ibm.com> This fixes the RAID1 recovery problems; it seems to be a simple thinko: sync_request_write() is passing "ok=0" into md_done_sync(). Clearly, `ok' should be true here. (acked by neilb)
-
Andrew Morton authored
From: Rusty Russell <rusty@rustcorp.com.au> Module aliases are all of form "char-major-<major>-<minor>". char_dev.c calls request_module with "char-major-<major>".
-
Andrew Morton authored
It's not ready for prime time yet, so hide it until the additional work has been done.
-
Andrew Morton authored
If this CPU decides that an ext2 block group has a free block it will then go in and try to acquire it. No locks are held, so another CPU can come in and steal the last block. In this case we will bogusly report a corrupted filessytem. Fix it by just restarting the scan - this will choose a different blockgroup or will generate -ENOSPC.
-
Andrew Morton authored
Only include mca.h if CONFIG_MCA: only ia32 and ia64 have <asm/mca.h>
-
Andrew Morton authored
From: Nick Piggin <piggin@cyberone.com.au> as_completed_request() can be called for requests which were not generated by the generic block layer. Handle these, to avoid a subsequent WARN_ON (at least). Also kill a separate WARN_ON which is bogusly triggering.
-
David S. Miller authored
into hera.kernel.org:/home/davem/BK/net-2.5
-
Neil Brown authored
An extra dput was introduced in nfsd_rename 20 months ago.... time to remove it.
-
Paul Mackerras authored
The __start___ex_table and __start___bug_table symbols could end up pointing a few bytes before the actual __ex_table and __bug_table sections, if the preceding section had an odd length. This led to oopses in some situations. Patch from Sam Ravnborg.
-
David S. Miller authored
into nuts.ninka.net:/disk1/davem/BK/net-2.5
-
Hideaki Yoshifuji authored
-
Hideaki Yoshifuji authored
-
Bart De Schuymer authored
-
bk://bk.arm.linux.org.uk/linux-2.6-rmkLinus Torvalds authored
into home.osdl.org:/home/torvalds/v2.5/linux
-
Russell King authored
If we are unable to deliver a signal to the process (eg, due to stack pointer corruption) block the signal so other fatal signals can kill off the process.
-
Andi Kleen authored
K8 has an erratum (#100) that essentially causes some compat mode processes to fault occassionally. The issue can be worked around in the OS. It only applies to x86-64, in 32bit it is fine. This adds a check to the page fault handler that checks for addresses >4GB from compat mode. If they happen just return; the CPU will reexecute the instruction and the condition that caused the problem is gone. More details in Opteron/Athlon64 specification update on the AMD website. Also I removed a left over debugging printk in the prefetch handling code.
-
Vojtech Pavlik authored
default values after probing This sets the mouse to 100 samples/second, 200 dpi, 1:1 mapping, which is a standard setting, as close to 2.4 XFree86 behavior as possible, and a good performance setting, too. It also in the case of 'psmouse_noext' doesn't probe and set anything all, though it still issues the RESET command. This is as safe as one can get. The only real problem remaining is that the report rate and resolution cannot be set from XFree86 config and only is available as a kernel/module parameter. The fix is, howewer not 2.6.0 material.
-