linux/net
Ajit Khaparde c4d49794ff net: bug fix for vlan + gro issue
Traffic (tcp) doesnot start on a vlan interface when gro is enabled.
Even the tcp handshake was not taking place.
This is because, the eth_type_trans call before the netif_receive_skb
in napi_gro_finish() resets the skb->dev to napi->dev from the previously
set vlan netdev interface. This causes the ip_route_input to drop the
incoming packet considering it as a packet coming from a martian source.

I could repro this on 2.6.32.7 (stable) and 2.6.33-rc7.
With this fix, the traffic starts and the test runs fine on both vlan
and non-vlan interfaces.

CC: Herbert Xu <herbert@gondor.apana.org.au>
CC: Patrick McHardy <kaber@trash.net>
Signed-off-by: Ajit Khaparde <ajitk@serverengines.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
2010-02-23 19:09:31 -08:00
..
9p 9p: fix p9_client_destroy unconditional calling v9fs_put_trans 2010-02-08 18:18:34 -06:00
802
8021q
appletalk
atm
ax25
bluetooth Bluetooth: Keep a copy of each HID device's report descriptor 2010-02-05 09:50:05 -08:00
bridge
can
core net: bug fix for vlan + gro issue 2010-02-23 19:09:31 -08:00
dcb
dccp dccp: fix auto-loading of dccp(_probe) 2010-02-03 19:00:31 -08:00
decnet
dsa
econet
ethernet
ieee802154
ipv4 net: Fix sysctl restarts... 2010-02-19 15:40:50 -08:00
ipv6 net: Fix sysctl restarts... 2010-02-19 15:40:50 -08:00
ipx
irda irda: add missing BKL in irnet_ppp ioctl 2010-02-03 20:14:23 -08:00
iucv
key af_key: fix netns ops ordering on module load/unload 2010-02-03 18:11:11 -08:00
lapb
llc
mac80211 Merge branch 'master' of ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-2.6 2010-02-14 11:56:38 -08:00
netfilter netfilter: nf_conntrack: fix hash resizing with namespaces 2010-02-08 11:18:07 -08:00
netlabel
netlink netlink: fix for too early rmmod 2010-02-03 18:13:43 -08:00
netrom
packet
phonet
rds
rfkill
rose
rxrpc
sched net/sched: Fix module name in Kconfig 2010-02-08 22:41:44 -08:00
sctp
sunrpc
tipc
unix
wanrouter
wimax
wireless
x25
xfrm xfrm: Fix xfrm_state_clone leak 2010-02-16 14:53:24 -08:00
compat.c
Kconfig
Makefile
nonet.c
socket.c
sysctl_net.c
TUNABLE