[PATCH 19/23] [PATCH] bridge: netfilter races on device removal

2006-02-07 Thread Chris Wright
-stable review patch. If anyone has any objections, please let us know. -- Fix bridge netfilter to handle case where interface is deleted from bridge while packet is being processed (on other CPU). Fixes: http://bugzilla.kernel.org/show_bug.cgi?id=5803 Signed-off-by: Stephen Hem

Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread David S. Miller
From: FUJITA Tomonori <[EMAIL PROTECTED]> Date: Wed, 08 Feb 2006 14:59:06 +0900 > I see. The following patch is OK? This breaks existing 32-bit programs which really want a 32-bit value there. Please sit and think about this problem for some time before proposing more patches. We have a whole c

Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread FUJITA Tomonori
From: FUJITA Tomonori <[EMAIL PROTECTED]> Subject: Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland Date: Wed, 08 Feb 2006 14:59:06 +0900 > From: "David S. Miller" <[EMAIL PROTECTED]> > Subject: Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland > Date: Tue, 0

Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread FUJITA Tomonori
From: "David S. Miller" <[EMAIL PROTECTED]> Subject: Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland Date: Tue, 07 Feb 2006 21:48:02 -0800 (PST) > From: FUJITA Tomonori <[EMAIL PROTECTED]> > Date: Wed, 08 Feb 2006 14:41:41 +0900 > > > From: "David S. Miller" <[EMAIL PROTECTED

Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread David S. Miller
From: FUJITA Tomonori <[EMAIL PROTECTED]> Date: Wed, 08 Feb 2006 14:41:41 +0900 > From: "David S. Miller" <[EMAIL PROTECTED]> > Subject: Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland > Date: Tue, 07 Feb 2006 21:36:06 -0800 (PST) > > > > tpacket_hdr structure includes 'unsig

Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread FUJITA Tomonori
From: "David S. Miller" <[EMAIL PROTECTED]> Subject: Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland Date: Tue, 07 Feb 2006 21:36:06 -0800 (PST) > > tpacket_hdr structure includes 'unsigned long' though kernel and > > userland shares it in the mmapped ring buffer. > > > > See

Re: [PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread David S. Miller
From: FUJITA Tomonori <[EMAIL PROTECTED]> Date: Wed, 08 Feb 2006 14:24:49 +0900 > tpacket_hdr structure includes 'unsigned long' though kernel and > userland shares it in the mmapped ring buffer. > > Seems it would be better to fix all data structures in the header file > than fixing only tpacket

[PATCH] Packet socket: directly access the mmapped ring buffer

2006-02-07 Thread FUJITA Tomonori
Mike Christie and I've developed the SCSI Userspace target framework. Target LLDs (for Fibre channel, iSCSI HBAs, etc) pass SCSI commands to SCSI commands to the user-space daemon. The daemon executes the commands and sends the results back to the LLDs. Please refer scsi-ml for further details. h

[PATCH] Packet socket: fix for 64-bit kernel and 32-bit userland

2006-02-07 Thread FUJITA Tomonori
tpacket_hdr structure includes 'unsigned long' though kernel and userland shares it in the mmapped ring buffer. Seems it would be better to fix all data structures in the header file than fixing only tpacket_hdr structure. Signed-off-by: FUJITA Tomonori <[EMAIL PROTECTED]> Signed-off-by: Mike Chr

[PATCH linux-2.6.16-rc2] bonding: fix a locking bug in bond_release

2006-02-07 Thread Jay Vosburgh
bond_release returns EINVAL without releasing the bond lock if the slave device is not being bonded by the bond. The following patch ensures that the lock is released in this case. Signed-off-by: Stephen J. Bevan <[EMAIL PROTECTED]> Acked-by: Jay Vosburgh <[EMAIL PROTECTED]> --- --- linux-2.6.

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread David S. Miller
From: Horms <[EMAIL PROTECTED]> Date: Wed, 8 Feb 2006 12:09:29 +0900 > Unfortunately this seems like it is going to be more tedious than > we first thought. I would guess writing some sort of tool to analyse > symbols and headers is the way to go. Else it seems more or less > impossible to clean

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Ian McDonald
> Unfortunately this seems like it is going to be more tedious than > we first thought. I would guess writing some sort of tool to analyse > symbols and headers is the way to go. Else it seems more or less > impossible to clean up headers, even on a small scale. > Search the netdev archives or look

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Horms
On Wed, Feb 08, 2006 at 01:36:11PM +1100, Herbert Xu wrote: > Horms <[EMAIL PROTECTED]> wrote: > > > >> Looks bogus to me. Why are we removing linux/modules.h from ip_vs_app.c > >> when it uses things like EXPORT_SYMBOL? > > > > Given that the code still compiles, I guess linux/modules.h is inclu

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Herbert Xu
Horms <[EMAIL PROTECTED]> wrote: > >> Looks bogus to me. Why are we removing linux/modules.h from ip_vs_app.c >> when it uses things like EXPORT_SYMBOL? > > Given that the code still compiles, I guess linux/modules.h is included > in some other header that is included. I'm happy to put linux/modu

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Horms
On Wed, Feb 08, 2006 at 12:19:32PM +1100, Herbert Xu wrote: > Horms <[EMAIL PROTECTED]> wrote: > > Dave, > > > > please apply. > > Looks bogus to me. Why are we removing linux/modules.h from ip_vs_app.c > when it uses things like EXPORT_SYMBOL? Given that the code still compiles, I guess linux

Re: [Patch] 2.4.32 - Neighbour Cache (ARP) State machine bug Fixed

2006-02-07 Thread Grant Coady
On Tue, 7 Feb 2006 17:50:03 -0800, Pradeep Vincent <[EMAIL PROTECTED]> wrote: >One more attempt. Attaching the diff file as well. > >Signed off by: Pradeep Vincent <[EMAIL PROTECTED]> > >--- old/net/core/neighbour.cWed Nov 9 16:48:10 2005 >+++ new/net/core/neighbour.cTue Feb 7 17:38:26 2

Re: [PATCH] acxsm: merge from acx 0.3.32

2006-02-07 Thread John W. Linville
On Tue, Feb 07, 2006 at 05:41:45PM +0200, Denis Vlasenko wrote: > On Friday 03 February 2006 14:14, Denis Vlasenko wrote: > > Standalone acx driver had several fixes since > > acxsm fork, this patch merges them: > > - initial support for new TNETW1450 USB chip > > - support for firmware 2.3.1.31 >

Re: [BUG] recent commit breaks multi-descriptor receives with ip fragments

2006-02-07 Thread David S. Miller
From: Jesse Brandeburg <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 17:41:28 -0800 (Pacific Standard Time) > so we generally call dev_alloc_skb to get the receive buffers to give to > our hardware. When we use multiple receive buffers what is the right way > to allocate memory to give buffers to t

Re: [Patch] 2.4.32 - Neighbour Cache (ARP) State machine bug Fixed

2006-02-07 Thread Pradeep Vincent
One more attempt. Attaching the diff file as well. Signed off by: Pradeep Vincent <[EMAIL PROTECTED]> --- old/net/core/neighbour.cWed Nov 9 16:48:10 2005 +++ new/net/core/neighbour.cTue Feb 7 17:38:26 2006 @@ -14,6 +14,7 @@ * Vitaly E. Lavrovreleasing NULL neighbor in neig

Re: [BUG] recent commit breaks multi-descriptor receives with ip fragments

2006-02-07 Thread Jesse Brandeburg
On Tue, 7 Feb 2006, Herbert Xu wrote: David S. Miller <[EMAIL PROTECTED]> wrote: > > I think we should revert that thing, it's caused more grief than > anything else. I thought it was a complete waste of time from the > get-go even assuming that fraglists within fraglists never occur... I share

Re: [BUG] recent commit breaks multi-descriptor receives with ip fragments

2006-02-07 Thread Herbert Xu
David S. Miller <[EMAIL PROTECTED]> wrote: > > I think we should revert that thing, it's caused more grief than > anything else. I thought it was a complete waste of time from the > get-go even assuming that fraglists within fraglists never occur... I share your feelings towards this patch. How

Re: [PATCH] [IPVS] Shrink ip_vs_*.c includes

2006-02-07 Thread Herbert Xu
Horms <[EMAIL PROTECTED]> wrote: > Dave, > > please apply. Looks bogus to me. Why are we removing linux/modules.h from ip_vs_app.c when it uses things like EXPORT_SYMBOL? -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <[EMAIL PROTECTED]> Home Page: http://gondor.apa

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Ben Greear
Rick Jones wrote: Ben Greear wrote: Rick Jones wrote: In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory? In certain cases...say, with vlans, you could very often create and destroy net devices. I think that

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Rick Jones
David S. Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 16:39:52 -0800 Rick Jones wrote: In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory? In certain cases...say, with vlans, you co

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Rick Jones
Ben Greear wrote: Rick Jones wrote: In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory? In certain cases...say, with vlans, you could very often create and destroy net devices. I think that giving up and leaking

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Ben Greear
David S. Miller wrote: From: Ben Greear <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 15:54:06 -0800 What do you think about having no ref counting, and upon removal of a network device, we notify each logic unit that deals with skbs or other things that link to the netdev and ask it to clean all

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Rick Jones
David S. Miller wrote: From: Rick Jones <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 16:29:34 -0800 In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory? That could work. Another idea is to revisit the scheme of st

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread David S. Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 16:39:52 -0800 > Rick Jones wrote: > > In the realm of straw ideas, how often are netdevs added and removed, > > and would leaving a tombstone behind consume too much memory? > > In certain cases...say, with vlans, you could very often

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Ben Greear
Rick Jones wrote: In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory? In certain cases...say, with vlans, you could very often create and destroy net devices. I think that giving up and leaking the memory is not a

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread David S. Miller
From: Rick Jones <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 16:29:34 -0800 > In the realm of straw ideas, how often are netdevs added and > removed, and would leaving a tombstone behind consume too much > memory? That could work. Another idea is to revisit the scheme of storing just the ifindex

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Rick Jones
In the realm of straw ideas, how often are netdevs added and removed, and would leaving a tombstone behind consume too much memory? rick jones - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.ker

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread David S. Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 16:19:42 -0800 > Also, isn't a lot of the problem reduced if network devices > are affinitied? Not for routing/firewalling, we touch the destination device's counters on input softing of the source device. - To unsubscribe from thi

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Stephen Hemminger
On Tue, 07 Feb 2006 16:11:51 -0800 (PST) "David S. Miller" <[EMAIL PROTECTED]> wrote: > From: Ben Greear <[EMAIL PROTECTED]> > Date: Tue, 07 Feb 2006 15:54:06 -0800 > > > What do you think about having no ref counting, and upon removal of > > a network device, we notify each logic unit that deals

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread David S. Miller
From: Ben Greear <[EMAIL PROTECTED]> Date: Tue, 07 Feb 2006 15:54:06 -0800 > What do you think about having no ref counting, and upon removal of > a network device, we notify each logic unit that deals with skbs > or other things that link to the netdev and ask it to clean all > references to the

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Ben Greear
Eric Dumazet wrote: David S. Miller a écrit : From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 08 Feb 2006 00:23:45 +0100 Some devices are *never* unregistered : loopback, or statically linked drivers, thus we are refcounting them for nothing. Statically linked drivers can have netdev's t

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Eric Dumazet
David S. Miller a écrit : From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 08 Feb 2006 00:23:45 +0100 Some devices are *never* unregistered : loopback, or statically linked drivers, thus we are refcounting them for nothing. Statically linked drivers can have netdev's that get unregistered an

Re: [PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread David S. Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Wed, 08 Feb 2006 00:23:45 +0100 > Some devices are *never* unregistered : loopback, or statically linked > drivers, thus we are refcounting them for nothing. Statically linked drivers can have netdev's that get unregistered and free'd up. For example

[PATCH] NET : SMP optimization of netdevice refcount

2006-02-07 Thread Eric Dumazet
Struct net_device's atomic refcnt are probably one of the hotest memory spots in a SMP/NUMA network router or network server. This counter is constantly incremented/decremented each time a network packet is handled, or a IP route is added/deleted in route cache. This is *not* SMP nor NUMA frie

Re: [BUG] recent commit breaks multi-descriptor receives with ip fragments

2006-02-07 Thread David S. Miller
From: Jesse Brandeburg <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 14:11:46 -0800 (Pacific Standard Time) > A recent commit in 2.6.14 broke this, see this git commit: > http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=bc8dfcb93970ad7139c976356bfc99d7e251deaf > >

Re: IBM_EMAC_PHY_RX_CLK_FIX depends on non-existing option 440GR

2006-02-07 Thread Eugene Surovegin
On Tue, Feb 07, 2006 at 11:14:49PM +0100, Adrian Bunk wrote: > Jean-Luc Leger <[EMAIL PROTECTED]> reported the following: > > from drivers/net/Kconfig: > config IBM_EMAC_PHY_RX_CLK_FIX > bool "PHY Rx clock workaround" > depends on IBM_EMAC && (405EP || 440GX || 440EP || 440GR) > ->

IBM_EMAC_PHY_RX_CLK_FIX depends on non-existing option 440GR

2006-02-07 Thread Adrian Bunk
Jean-Luc Leger <[EMAIL PROTECTED]> reported the following: from drivers/net/Kconfig: config IBM_EMAC_PHY_RX_CLK_FIX bool "PHY Rx clock workaround" depends on IBM_EMAC && (405EP || 440GX || 440EP || 440GR) -> maybe this is 440GP ? The non-existing CONFIG_440GR is also present in t

[BUG] recent commit breaks multi-descriptor receives with ip fragments

2006-02-07 Thread Jesse Brandeburg
For a while now with e1000, we've been trying to optimize our jumbo frame memory utilization by using multiple 2k buffers chained together (see rx_skb_top in e1000_main.c) using frag_list. Up until 2.6.14, this worked. A recent commit in 2.6.14 broke this, see this git commit: http://git.ker

Re: [Patch] 2.4.32 - Neighbour Cache (ARP) State machine bug Fixed

2006-02-07 Thread Willy Tarreau
Hi, On Tue, Feb 07, 2006 at 12:57:43AM -0700, Pradeep Vincent wrote: > In 2.4.21, arp code uses gc_timer to check for stale arp cache > entries. In 2.6, each entry has its own timer to check for stale arp > cache. 2.4.29 to 2.4.32 kernels (atleast) use neither of these timers. > This causes proble

[PATCH] Fix softmac scan

2006-02-07 Thread Larry Finger
John, Softmac scanning fails because the stop flag is not cleared before scanning is started. The attached one-line patch fixes this. Signed-Off-By: Larry Finger <[EMAIL PROTECTED]> diff --git a/net/ieee80211/softmac/ieee80211softmac_scan.c b/net/ieee80211/softmac/ieee80211softmac_scan.c ind

Re: Strange IPsec freeze/partial fix

2006-02-07 Thread Herbert Xu
Olaf Kirch <[EMAIL PROTECTED]> wrote: > > People have been testing with the patch below, which seems to fix the > problem partially. They still see connection hangs however (things > only clear up when they start a new ping or new ssh). So the patch > is obvsiouly not sufficient, and something els

[PATCH] acxsm: Add _{get,set}_encodeext and improve logging in _encode

2006-02-07 Thread Carlos Martín
Add _{get,set}_encodeext and improve logging in _encode The code in _{get,set}_encode has been reordered a bit so we have better logging (function entry and exit) and _{get,set}_encodeext have been implemented as a wrapper for the ieee80211 stack functions. diff --git a/ioctl.

Re: [test] airo : first WPA-PSK support

2006-02-07 Thread matthieu castet
Dan Williams wrote: AFAIK anything less than 5.40.x doesn't work anyway. The latest stuff (5.60.x) has worked fine. I previously had 5.30.17, which tended to hang the card after a while. Anyway, perhaps we require people to update their firmware. Not sure. What's the minimum firmware versio

Re: e1000 not working on AMD64

2006-02-07 Thread Rick Jones
Hajo Noerenberg wrote: I've bought four new e1000 cards (PCI id 8086:107c, chip label 82541PI), three of them are working without problems (i386, kernel 2.4.x). One of them is installed in an AMD64 SMP system (Athlon dual core 4GB). It gets detected, link is reported to be up, but no data goes t

RE: e1000 not working on AMD64

2006-02-07 Thread cramerj
Does /proc/interrupts show the interrupts incrementing for the interface? -Jeb > -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > On Behalf Of Hajo Noerenberg > Sent: Tuesday, February 07, 2006 3:22 AM > To: netdev@vger.kernel.org > Subject: e1000 not working on AM

Re: Kernel BUG at drivers/net/tg3.c:2914 on SMP amd64

2006-02-07 Thread Mike Crowe
On Thu, 2006-02-02 at 13:37 +, Mike Crowe wrote: >> I'm running the Debian 2.6.15 kernel from backports.org on a >> machine with two Opteron 275s. I am getting a BUG in tg3.c quite >> reliably if I ping flood the machine from a few others and cause a >> bit of other network activity. Sometimes

[patch 2/2] s390: some qeth driver fixes

2006-02-07 Thread Frank Pavlic
[patch 2/2] s390: some qeth driver fixes From: Frank Pavlic <[EMAIL PROTECTED]> - fixed kernel panic when using EDDP support in Layer 2 mode - NULL pointer exception in qeth_set_offline fixed. - setting EDDP in Layer 2 mode did not set NETIF_F_(SG/TSO) flags when

[patch 1/2] s390: lcs performance enhancements

2006-02-07 Thread Frank Pavlic
[patch 1/2] s390: lcs performance enhancements From: Klaus Wacker <[EMAIL PROTECTED]> - When flood pinging (with large packet size) an LCS device, about 90 % of all packets are dropped by driver. - increased number of lcs IO buffers to 32. - use netif_stop_queue

Re: [PATCH] acxsm: merge from acx 0.3.32

2006-02-07 Thread Denis Vlasenko
Hello John, On Friday 03 February 2006 14:14, Denis Vlasenko wrote: > Standalone acx driver had several fixes since > acxsm fork, this patch merges them: > - initial support for new TNETW1450 USB chip > - support for firmware 2.3.1.31 > > Also we had one report that acxsm is actually working. > T

Strange IPsec freeze/partial fix

2006-02-07 Thread Olaf Kirch
Hi, there's a problem with IPsec that has been bugging some of our users for the last couple of kernel revs. Every now and then, IPsec will freeze the machine completely. This is with openswan user land, and with kernels up to and including 2.6.16-rc2. I managed to debug this a little, and what h

Re: [PATCH] af_unix: use shift instead of integer division

2006-02-07 Thread Benjamin LaHaise
On Tue, Feb 07, 2006 at 04:15:31PM +0100, Andi Kleen wrote: > On Tuesday 07 February 2006 15:54, Benjamin LaHaise wrote: > > > + if (size > ((sk->sk_sndbuf >> 1) - 64)) > > + size = (sk->sk_sndbuf >> 1) - 64; > > This is really surprising. Are you double plus sure gcc

[PATCH] af_unix: scm: better initialization

2006-02-07 Thread Benjamin LaHaise
Instead of doing a memset then initialization of the fields of the scm structure, just initialize all the members explicitly. Prevent reloading of current on x86 and x86-64 by storing the value in a local variable for subsequent dereferences. This is worth a ~7KB/s increase in af_unix bandwid

Re: [PATCH] af_unix: use shift instead of integer division

2006-02-07 Thread Andi Kleen
On Tuesday 07 February 2006 15:54, Benjamin LaHaise wrote: > + if (size > ((sk->sk_sndbuf >> 1) - 64)) > + size = (sk->sk_sndbuf >> 1) - 64; This is really surprising. Are you double plus sure gcc doesn't do this automatically? -Andi - To unsubscribe from this l

[PATCH] af_unix: use shift instead of integer division

2006-02-07 Thread Benjamin LaHaise
The patch below replaces a divide by 2 with a shift -- sk_sndbuf is an integer, so gcc emits an idiv, which takes 10x longer than a shift by 1. This improves af_unix bandwidth by ~6-10K/s. Also, tidy up the comment to fit in 80 columns while we're at it. -ben Signed-off-by: B

e1000 not working on AMD64

2006-02-07 Thread Hajo Noerenberg
I've bought four new e1000 cards (PCI id 8086:107c, chip label 82541PI), three of them are working without problems (i386, kernel 2.4.x). One of them is installed in an AMD64 SMP system (Athlon dual core 4GB). It gets detected, link is reported to be up, but no data goes through (in fact _sometim

Re: [PATCH] snap: needs hardware checksum fix

2006-02-07 Thread Herbert Xu
On Fri, Feb 03, 2006 at 10:01:17AM -0800, Stephen Hemminger wrote: > > static unsigned char *skb_pull_rcsum(struct sk_buff *skb, unsigned int len) > { > if (unlikely(len > skb->len)) > return NULL; > if (skb->ip_summed == CHECKSUM_HW) > skb->csum = csum_sub(

Re: [2.6 patch] net/tipc/: possible cleanups

2006-02-07 Thread Per Liden
On Sat, 4 Feb 2006, Adrian Bunk wrote: > This patch contains the following possible cleanups: > - make needlessly global code static Good catch. > - #if 0 the following unused global functions: > - name_table.c: tipc_nametbl_print() > - name_table.c: tipc_nametbl_dump() > - net.c: tipc_net

Re: [PATCH] check connect(2) status for IPv6 UDP socket

2006-02-07 Thread Nicolas DICHTEL
Hi all, in the same way of this patch, why dst_entry are stored for RAW socket ? In case of specific IPSec rules for ICMPv6, xfrm state can be different for the same destination. Attached, a proposed patch. Regards, Nicolas [IPV6] Don't store dst_entry for RAW socket Signed-off-by: Nicolas DIC

[git patches] net driver fixes

2006-02-07 Thread Jeff Garzik
Please pull from 'upstream-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git to receive the following updates: drivers/net/8139too.c| 38 +-- drivers/net/Kconfig |7 - drivers/net/bonding/bond_main.c | 15 ++- drivers/net/b