summaryrefslogtreecommitdiffstats
path: root/drivers/net/e1000
diff options
context:
space:
mode:
authorAjit Khaparde2010-02-16 21:25:43 +0100
committerDavid S. Miller2010-02-24 04:09:31 +0100
commitc4d49794ff2838038fd9756eae39c39a5a685833 (patch)
tree0511704f9660c27e1bd704d45d3f45457b851c64 /drivers/net/e1000
parentMerge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linvil... (diff)
downloadkernel-qcow2-linux-c4d49794ff2838038fd9756eae39c39a5a685833.tar.gz
kernel-qcow2-linux-c4d49794ff2838038fd9756eae39c39a5a685833.tar.xz
kernel-qcow2-linux-c4d49794ff2838038fd9756eae39c39a5a685833.zip
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>
Diffstat (limited to 'drivers/net/e1000')
0 files changed, 0 insertions, 0 deletions