[2/2] [IPSEC]: Kill post_input hook and do NAT-T in esp_input directly

2006-02-24 Thread Herbert Xu
Hi Dave: Here is the patch that kills the post_input stuff. [IPSEC]: Kill post_input hook and do NAT-T in esp_input directly The only reason post_input exists at all is that it gives us the potential to adjust the checksums incrementally in future which we ought to do. However, after thinking a

[1/2] [IPSEC] esp: Kill unnecessary block and indentation

2006-02-24 Thread Herbert Xu
Hi Dave: This is the first of two patches which should fix the recent report about transport mode NAT-T and TCP checksums. [IPSEC] esp: Kill unnecessary block and indentation We used to keep sg on the stack which is why the extra block was useful. We've long since stopped doing that so let's kil

Re: Problem with Ipsec transport mode over NAT

2006-02-24 Thread Herbert Xu
On Fri, Feb 24, 2006 at 04:57:33AM +, Patrick McHardy wrote: > > So we could move checksum validation behind xfrm4_policy_check or > already set ip_summed to CHECKSUM_UNNECESSARY in esp_input. Already > setting ip_summed in esp4_input looks easier. But this still leaves Absolutely. The only

SOLUÇÕES GRÁFICAS

2006-02-24 Thread cezar
SOLUÇÕES GRÁFICAS

Re: [PATCH] Add Wake on LAN support to sis900 (2)

2006-02-24 Thread John Reiser
Daniele Venzano wrote: > Attached you find the patch that fixes two bugs in the WoL > implementation of sis900. The first causes hangs on some system on > driver load, the second causes troubles when disabling WoL support. > Both fixes are one liner and really simple. Patch is against latest >

Re: [Announce] Intel PRO/Wireless 3945ABG Network Connection

2006-02-24 Thread Dax Kelson
On Fri, 2006-02-24 at 16:29 -0600, James Ketrenos wrote: > Intel is pleased to announce the launch of an open source project to > support the Intel PRO/Wireless 3945ABG Network Connection mini-PCI > express adapter (IPW3945). Cool! > In order to meet the requirements of all > geographies into w

question about struct ipv6hdr

2006-02-24 Thread Didier Barvaux
Hello everybody, As a comment says in include/linux/ipv6.h, the ipv6hdr structure is not correct. The variables priority and flow_lbl do not match the IPv6 header fields as described in the RFC. /* * IPv6 fixed header * * BEWARE, it is incorrect. The first 4 bits of flow_lbl * are glued to pr

Re: [Announce] Intel PRO/Wireless 3945ABG Network Connection

2006-02-24 Thread Jeff V. Merkey
Awesome. Now all we need is someone to write the bcm series for wireless and ndiswrapper can go away. Jeff James Ketrenos wrote: Intel is pleased to announce the launch of an open source project to support the Intel PRO/Wireless 3945ABG Network Connection mini-PCI express adapter (IPW3945).

[Announce] Intel PRO/Wireless 3945ABG Network Connection

2006-02-24 Thread James Ketrenos
Intel is pleased to announce the launch of an open source project to support the Intel PRO/Wireless 3945ABG Network Connection mini-PCI express adapter (IPW3945). The project is hosted at http://ipw3945.sourceforge.net. A development mailing list is available (linked from the top of the IPW3945 p

Re: [PATCH 0/3][LLC]: Cleanups & Fix

2006-02-24 Thread David S. Miller
From: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> Date: Fri, 24 Feb 2006 18:31:35 -0300 >Please consider pulling from: > > master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.17.git Looks good, pulled, thanks Arnaldo. - To unsubscribe from this list: send the line "unsubscribe netdev"

Re: [PATCH] [IPV6]: Ensure to join all-routers multicast address.

2006-02-24 Thread David S. Miller
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Date: Thu, 23 Feb 2006 03:18:26 +0900 (JST) > If net.ipv6.conf.default.forwarding is !0 when bringing up the interface, > we failed to join all routers multicast address, while we join/leave if we > enable/disable net.ipv6.conf.ethX.forwarding later. >

Re: fib_trie stats fix [PATCH]

2006-02-24 Thread David S. Miller
From: Robert Olsson <[EMAIL PROTECTED]> Date: Wed, 22 Feb 2006 14:32:43 +0100 > fib_triestats has been buggy and caused oopses some platforms as openwrt. > The patch below should cure those problems. > > Signed-off-by: Robert Olsson <[EMAIL PROTECTED]> Also applied, thanks Robert. - To unsubscri

Re: fib_trie initialzation fix [PATCH]

2006-02-24 Thread David S. Miller
From: Robert Olsson <[EMAIL PROTECTED]> Date: Wed, 22 Feb 2006 14:23:35 +0100 > In some kernel configs /proc functions seems to be accessed before the trie > is initialized. The patch below checks for this. > > Signed-off-by: Robert Olsson <[EMAIL PROTECTED]> Applied, thanks Robert. - To unsubs

Re: [PATCH 2.6.17 2/2] tg3: Fix tg3_get_ringparam()

2006-02-24 Thread David S. Miller
Both patches applied to net-2.6.17, thanks a lot Michael. - 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.kernel.org/majordomo-info.html

Re: [PATCH] mtu probing: move tcp-specific data out of inet_connection_sock

2006-02-24 Thread David S. Miller
From: John Heffner <[EMAIL PROTECTED]> Date: Thu, 16 Feb 2006 16:21:27 -0500 > This moves some TCP-specific MTU probing state out of > inet_connection_sock back to tcp_sock. > > Signed-off-by: John Heffner <[EMAIL PROTECTED]> Applied, thanks John. - To unsubscribe from this list: send the line

Re: [PATCH] af_unix: scm: better initialization

2006-02-24 Thread David S. Miller
From: Benjamin LaHaise <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 07:04:05 -0800 > 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 vari

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

2006-02-24 Thread David S. Miller
From: Benjamin LaHaise <[EMAIL PROTECTED]> Date: Tue, 7 Feb 2006 06:54:44 -0800 > 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 c

Re: [PATCH] Uninline kfree_skb and allow NULL argument

2006-02-24 Thread David S. Miller
From: Jörn Engel <[EMAIL PROTECTED]> Date: Fri, 24 Feb 2006 09:37:59 +0100 > On Fri, 24 February 2006 00:32:04 -0800, David S. Miller wrote: > > > > One more problem :-) Please export the kfree_skb() symbol so > > networking modules don't break. > > Doh! Done. > > Any more reasons to wear a b

[PATCH 3/3] [LLC]: Fix sap refcounting

2006-02-24 Thread Arnaldo Carvalho de Melo
Thanks to Leslie Harlley Watter <[EMAIL PROTECTED]> for reporting the problem an testing this patch. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- net/llc/af_llc.c |4 +++- net/llc/llc_core.c |1 - 2 files changed, 3 insertions(+), 2 deletions(-) 42b30504aadc0e1e45e

[PATCH 2/3] [LLC]: Replace __inline__ with inline

2006-02-24 Thread Arnaldo Carvalho de Melo
Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- net/llc/af_llc.c |9 - 1 files changed, 4 insertions(+), 5 deletions(-) bac4eba541726216405d373edae1b285de230e0d diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 490b3b4..2337944 100644 --- a/net/llc/af_llc.c +++

[PATCH 0/3][LLC]: Cleanups & Fix

2006-02-24 Thread Arnaldo Carvalho de Melo
Hi David, Please consider pulling from: master.kernel.org:/pub/scm/linux/kernel/git/acme/net-2.6.17.git Best Regards, - Arnaldo b/net/llc/af_llc.c |3 +-- b/net/llc/llc_core.c |2 -- net/llc/af_llc.c | 14 +++--- 3 files changed, 8 insertions(+), 11 deletions(-) -

[PATCH 1/3] [LLC]: Fix struct proto .name

2006-02-24 Thread Arnaldo Carvalho de Melo
Cut'n'paste error from ddp_proto. Signed-off-by: Arnaldo Carvalho de Melo <[EMAIL PROTECTED]> --- net/llc/af_llc.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) 939178799c5c65687d2595a64c388d82dd1479c3 diff --git a/net/llc/af_llc.c b/net/llc/af_llc.c index 8171c53..490b3b4 100644

Re: IPv6 setsockopt software MTU patch

2006-02-24 Thread David S. Miller
From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> Date: Fri, 24 Feb 2006 18:22:25 +0900 (JST) > Here it is. I think net-2.6 is fine. Thanks. Applied, thanks a lot. - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at

Re: [PATCH] ip6_tunnel: release cached dst on change of tunnel params

2006-02-24 Thread David S. Miller
From: Ville Nuorvala <[EMAIL PROTECTED]> Date: Fri, 24 Feb 2006 15:55:23 +0200 > Hugo Santos wrote: > > Hi, > > > >The included patch fixes ip6_tunnel to release the cached dst entry > > when the tunnel parameters (such as tunnel endpoints) are changed so > > they are used immediatly for th

Re: [git patches] net driver fixes

2006-02-24 Thread Wolfgang Hoffmann
On Friday 24 February 2006 17:14, Stephen Hemminger wrote: > There is an outstanding bug where the sky2 will hang if it receives a > packet larger than the MTU. At this point, there isn't enough information > on chip behavior to fix. > > You could try using a larger mut or patching the driver so t

Re: [git patches] net driver fixes

2006-02-24 Thread Stephen Hemminger
Wolfgang Hoffmann wrote: On Friday 24 February 2006 06:22, Jeff Garzik wrote: Please pull from 'upstream-fixes' branch of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6.git [...] Stephen Hemminger: sky2: yukon-ec-u chipset initialization sky2: limit coalescing val

Re: Problem with Ipsec transport mode over NAT

2006-02-24 Thread Chinh Nguyen
Patrick McHardy wrote: >>I don't know what correct fix is. Adding an extra call to xfrm4_policy_check >>in >>tcp_v4_rcv before the checksum check fixes this problem and doesn't seem to >>break anything else. On the other hand, moving some of the code in >>esp_post_input into esp_input (especially

Re: [PATCH 1/2] pcnet32: Introduce basic AT 2700/01 FTX support

2006-02-24 Thread Seewer Philippe
Don Fry wrote: On Mon, Feb 20, 2006 at 04:30:22PM +0100, Seewer Philippe wrote: Basic result: Works perfectly (exceptions see below) out of the box Problem 1: During probe1, lp->options is silently overwritten with PCNET32_PORT_MII. Even setting the statement to lp->options |= doesn't help

Re: [PATCH] ip6_tunnel: release cached dst on change of tunnel params

2006-02-24 Thread Ville Nuorvala
Hugo Santos wrote: Hi, The included patch fixes ip6_tunnel to release the cached dst entry when the tunnel parameters (such as tunnel endpoints) are changed so they are used immediatly for the next encapsulated packets. Signed-off-by: Hugo Santos <[EMAIL PROTECTED]> --- linux-2.6.16-rc4/

Re: ip6_tunnel keeping dst_cache after change of params

2006-02-24 Thread Ville Nuorvala
Hugo Santos wrote: Hi, Hi Hugo! ip6_tunnel keeps a cached dst (dst_cache in ip6_tnl) per tunnel instance. This cached dst is re-used while it's not marked obsolete. A change of the tunnel's parameters (via SIOCCHGTUNNEL) does not invalidate the dst_cache directly, which results on it be

Re: [PATCH] Add Wake on LAN support to sis900 (2)

2006-02-24 Thread Daniele Venzano
Here's the full patch that adds WoL support to vanilla kernel version 2.6.15.4 with the latest fixes. For reference, comments and general review. I hope my mailer doesn't feel too smart today. Thanks. Signed-off-by: Daniele Venzano <[EMAIL PROTECTED]> sis900_wol.diff Description: Binary d

Re: [PATCH] Add Wake on LAN support to sis900 (2)

2006-02-24 Thread Daniele Venzano
Attached you find the patch that fixes two bugs in the WoL implementation of sis900. The first causes hangs on some system on driver load, the second causes troubles when disabling WoL support. Both fixes are one liner and really simple. Patch is against latest netdev-2.6 tree. Signed-off

Re: IPv6 setsockopt software MTU patch

2006-02-24 Thread YOSHIFUJI Hideaki / 吉藤英明
Hello. In article <[EMAIL PROTECTED]> (at Thu, 23 Feb 2006 17:10:18 -0800 (PST)), "David S. Miller" <[EMAIL PROTECTED]> says: > From: YOSHIFUJI Hideaki <[EMAIL PROTECTED]> > Date: Fri, 24 Feb 2006 00:23:51 +0900 (JST) > > > David, please apply. Thank you. > > Can you please resend the patch w

Re: [PATCH] Uninline kfree_skb and allow NULL argument

2006-02-24 Thread Jörn Engel
On Fri, 24 February 2006 00:32:04 -0800, David S. Miller wrote: > > One more problem :-) Please export the kfree_skb() symbol so > networking modules don't break. Doh! Done. Any more reasons to wear a brown paperbag? Jörn -- When in doubt, punt. When somebody actually complains, go back an

Re: [PATCH] Uninline kfree_skb and allow NULL argument

2006-02-24 Thread David S. Miller
From: Jörn Engel <[EMAIL PROTECTED]> Date: Fri, 24 Feb 2006 09:18:38 +0100 > On Thu, 23 February 2006 12:48:01 -0800, David S. Miller wrote: > > So place add extern here, thanks a lot. > > Done. Sorry about that. Thanks. One more problem :-) Please export the kfree_skb() symbol so networking

Re: [PATCH] Uninline kfree_skb and allow NULL argument

2006-02-24 Thread Jörn Engel
On Thu, 23 February 2006 12:48:01 -0800, David S. Miller wrote: > > If you wish to contribute to a software project, you should adhere to > the coding style and conventions of that project when submitting > changes. It doesn't matter what the reasons are for those > conventions, you should follow

[PATCH] TCP_MIB_OUTSEGS increased including retransmitted octets

2006-02-24 Thread Wei Yongjun
Linux kernel increased the TCP_MIB_OUTSEGS even if only retransmitted octets is send out. RFC2012 saied that it excluding those containing only retransmitted octets. Refer to RFC2012, tcpOutSegs is defined as following: tcpOutSegs OBJECT-TYPE SYNTAX Counter32 MAX-ACCESS rea