- 16 Sep, 2004 12 commits
-
-
Thomas Graf authored
Fixes slab corruption in cbq_destroy. cbq_destroy_filters and qdisc_put_rtab(q->link.R_tab) are already called in cbq_destroy_class. The latter lead to a slab corruption due to repeated freeing of q->link.R_tab because q->link is part of q->classes. Problem introduced in 1.21. Signed-off-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Patrick McHardy <kaber@trash.net> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
This patch adds DSCP decapsulation for IPsec. This is enabled by a per-state flag which is off by default. Leaving it off by default maintains compatibility and is also good for performance reasons. I decided to not implement a toggle on the output path since not encapsulating the DSCP can and should be done by netfilter. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
This patch kills the duplicate implementation of ip6_get_dsfield in inet_ecn.h. It now uses ipv6_get_dsfield from dsfield.h instead. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
into nuts.davemloft.net:/disk1/BK/net-2.6
-
Hideaki Yoshifuji authored
When sending NA in response to NS, we may not know the link-layer address for the destination of the NA since unicast NS is not required to include its link-layer information. In this case, we first need to resolve the link-layer address. (RFC 2461 7.2.4) We now create neighbour entry for the destination and link-layer information will be automatically solved in the output path. Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Eric Lemoine authored
Signed-off-by: Eric Lemoine <eric.lemoine@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Petr Vandrovec authored
This change switches matroxfb on x86 and x86_64 from dereferencing pointers to {read,write}[bwl], as __pa() are gone from them, and so gcc does not need an additional register for preserving address between consecutive {read,write}[bwl]. Then it switches only supported architecture left (ppc/ppc64/arm) from dereferencing pointers to __raw_{read,write}[bwl]. Third part is fixing sparse complaints: add __iomem here and there, and switch one 1bit bitfield from int to unsigned int. After this there should be no sparse complaints in matroxfb. Signed-off-by: Petr Vandrovec <vandrove@vc.cvut.cz> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Alex Williamson authored
Looks like a couple struct to pointer conversions were missed. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Rusty Russell authored
FTP NAT module doesn't register anything with no args. Oops. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
Roland McGrath authored
As I explained in the waitid patches, I added the si_rusage field to siginfo_t with the idea of having the siginfo_t waitid fills in contain all the information that wait4 or any such call could ever tell you. Nowhere in POSIX nor anywhere else specifies this field in siginfo_t. When Ulrich and I hashed out the system call interface we wanted, we looked at siginfo_t and decided there was plenty of space to throw in si_rusage. Well, it turns out we didn't check the 64-bit platforms. There struct rusage is ridiculously large (lots of longs for things that are never in a million years going to hit 2^32), and my changes bumped up the size of siginfo_t. Changing that size is more trouble than it's worth. This patch reverts the changes to the siginfo_t structure types, and no longer provides the rusage details in SIGCHLD signal data. Instead, I added a fifth argument to the waitid system call to fill in rusage. waitid is the name of the POSIX function with four arguments. It might make sense to rename the system call `waitsys' to follow SGI's system call with the same arguments, or `wait5' in the mindless tradition. But, feh. I just added the argument to sys_waitid, rather than worrying about changing the name in all the tables (and choosing a new stupid name). Signed-off-by: Roland McGrath <roland@redhat.com> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
bk://gkernel.bkbits.net/libata-2.6Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
-
- 17 Sep, 2004 4 commits
-
-
Dave Airlie authored
Alan suggested using __set_current_state as being more correct for the DRM so do that. Signed-off-by: Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
Suggested-by: Nishanth Aravamudan <nacc@us.ibm.com> Approved-by: Dave Airlie <airlied@linux.ie>
-
Dave Airlie authored
Add pci_enable_device for any PCI device we want to use. From: Bjorn Helgaas <bjorn.helgaas@hp.com> Approved-by: David Airlie <airlied@linux.ie>
-
Dave Airlie authored
This caused issues with a PCI radeon card. From: Jon Smirl Approved-by: Dave Airlie <airlied@linux.ie>
-
- 16 Sep, 2004 2 commits
-
-
bk://kernel.bkbits.net/vojtech/inputLinus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Vojtech Pavlik authored
-
- 15 Sep, 2004 10 commits
-
-
Jeff Garzik authored
* add dev_select hook, and default/noop implementations * export ata_dev_classify * fix a couple bugs that cropped up when building with ATA_VERBOSE_DEBUG * export __sata_phy_reset, a variant that does not call ata_bus_reset
-
David S. Miller authored
Kill fn_key_eq and fn_key_leq Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
1) Kill special key, prefix, and hash index types. They make the code less readable and maintainable. 2) __inline__ --> inline Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Bug noticed by Ysauyuki Kozakai. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Eric Lemoine authored
Signed-off-by: Eric Lemoine <eric.lemoine@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
Eric Lemoine authored
Using tx_lock in SunGEM makes the driver logic in conformance with tg3 and e1000, easing maintainance. Signed-off-by: Eric Lemoine <eric.lemoine@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
bk://are.twiddle.net/axp-2.6/Linus Torvalds authored
into ppc970.osdl.org:/home/torvalds/v2.6/linux
-
Denis Vlasenko authored
Allocating the 'struct linux_binprm' on the stack chews up too much stackspace. Just kmalloc it instead. Signed-off-by: Linus Torvalds <torvalds@osdl.org>
-
- 14 Sep, 2004 12 commits
-
-
Richard Henderson authored
-
Richard Henderson authored
-
Jeff Garzik authored
into pobox.com:/spare/repo/libata-2.6
-
ananth@broadcom.com authored
* address race condition WRT order of DMA-start and ATA command issue (see code comment for more details) * Add support for Frodo 4/8
-
Jeff Garzik authored
-
Hideaki Yoshifuji authored
net/ipv6/icmp.c was not converted in xfrm_lookup() extraction patch. This patch converts it; adding the missing call to xfrm_lookup in icmpv6_{send,echo_reply}(). Signed-off-by: Kazunori Miyazawa <kazunori@miyazawa.org> Signed-off-by: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org> SIgned-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
Based upon discussions with Ulrich Kuehn (ukuehn@acm.org) Signed-off-by: James Morris <jmorris@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
-
David S. Miller authored
Based upon a report from Matthias Merz. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Mike Waychison authored
Signed-off-by: Mike Waychison <michael.waychison@sun.com> Signed-off-by: David S. Miller <davem@davemloft.net>
-
David S. Miller authored
A singly linked list was previously used to do fib_info object lookup for various actions in the routing code. This does not scale very well with many devices and even a moderate number of routes. This was noted by Benjamin Lahaise. To fix all of this we use 3 hash tables, two of which grow dynamically as the number fib_info objects increases while the final one is fixes in size. The statically sized table hashes on device index. This is used for fib_sync_down, fib_sync_up, and ip_fib_check_default. The first dynamically sized table is keyed on protocol, prefsrc, and priority. This is used by fib_create_info() to look for existing fib_info objects matching the new one being constructed. The last dynamically sized table is keyed on the preferred source of the route if it has one specified. This is used by fib_sync_down when a local address disappears. There are still some scalability problems for Bens test case in fib_hash.c and I will try to attack those next. Signed-off-by: David S. Miller <davem@davemloft.net>
-
Herbert Xu authored
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: David S. Miller <davem@davemloft.net>
-