2.6.31-rc1: tun
Subsystems (2)
Updated from 2.6.30 to 2.6.31-rc1
$ uname -a Linux mosly 2.6.31-rc1 #16 SMP PREEMPT Thu Jun 25 22:14:24 EEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU U7600 @ 1.20GHz GenuineIntel GNU/Linux
All my tun interfaces stopped working. ICMP works but IP(TCP/UDP) does not. Machine started to hang. I tried to reproduce in linux console. You see the .png result. .config attached
P.S.: sorry, my lame skills allowed me to shrink 3MB jpg only down to 180KB.
Signature · 1 line
Sergei
Quoted 9 lines · Sergei Trofimovich
Updated from 2.6.30 to 2.6.31-rc1
$ uname -a Linux mosly 2.6.31-rc1 #16 SMP PREEMPT Thu Jun 25 22:14:24 EEST 2009 x86_64 Intel(R) Core(TM)2 Duo CPU U7600 @ 1.20GHz GenuineIntel GNU/LinuxAll my tun interfaces stopped working. ICMP works but IP(TCP/UDP) does not. Machine started to hang. I tried to reproduce in linux console. You see the .png result. .config attached
This patch should help (already merged by davem).
net/ipv4/ip_input.c +3 -0
@@ -440,6 +440,9 @@ int ip_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *pt,/* Remove any debris in the socket control block */ memset (IPCB (skb),0 ,sizeof (struct inet_skb_parm )); +/* Must drop socket now because of tproxy. */ +skb_orphan (skb); +return NF_HOOK (PF_INET ,NF_INET_PRE_ROUTING , skb, dev,NULL , ip_rcv_finish);
net/ipv6/ip6_input.c +3 -0
@@ -139,6 +139,9 @@ int ipv6_rcv(struct sk_buff *skb, struct net_device *dev, struct packet_type *ptrcu_read_unlock (); +/* Must drop socket now because of tproxy. */ +skb_orphan (skb); +return NF_HOOK (PF_INET6 ,NF_INET_PRE_ROUTING , skb, dev,NULL , ip6_rcv_finish); err:
Cheers,
Signature · 4 lines
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <[email protected]>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txtQuoted 6 lines
Quoted 3 lines
All my tun interfaces stopped working. ICMP works but IP(TCP/UDP) does not. Machine started to hang. I tried to reproduce in linux console. You see the .png result. .config attached
This patch should help (already merged by davem).
cherry-picked 71f9dacd2e4d233029e9e956ca3f79531f411827 fromgit://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6.git
onto current master from Linus.
openvpn works perfectly.
Thanks!
Signature · 1 line
Sergei