diff options
| author | Ajit Khaparde <[email protected]> | 2010-02-16 20:25:43 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-02-17 15:59:47 -0800 |
| commit | e76b69cc0133952c98aa1ad6330cacacd269fd64 (patch) | |
| tree | d06aa21c325692e8e97b6d73f34bc05319a586cf /include/linux/timerqueue.h | |
| parent | 1d4bd947c501ea1da81300280fb6aeec2cca9335 (diff) | |
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 <[email protected]>
CC: Patrick McHardy <[email protected]>
Signed-off-by: Ajit Khaparde <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions