diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2011-03-30 02:42:17 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-03-30 02:42:17 -0700 |
commit | 79b569f0ec53a14c4d71e79d93a8676d9a0fda6d (patch) | |
tree | 7e58567e6d8451ed8981afa687d67b69ae33a52e /drivers/atm/iphase.c | |
parent | 7a635ea989991d7f12d57a12f2ba7cb6d211e083 (diff) | |
download | op-kernel-dev-79b569f0ec53a14c4d71e79d93a8676d9a0fda6d.zip op-kernel-dev-79b569f0ec53a14c4d71e79d93a8676d9a0fda6d.tar.gz |
netdev: fix mtu check when TSO is enabled
In case the device where is coming from the packet has TSO enabled,
we should not check the mtu size value as this one could be bigger
than the expected value.
This is the case for the macvlan driver when the lower device has
TSO enabled. The macvlan inherit this feature and forward the packets
without fragmenting them. Then the packets go through dev_forward_skb
and are dropped. This patch fix this by checking TSO is not enabled
when we want to check the mtu size.
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr>
Acked-by: "Eric W. Biederman" <ebiederm@xmission.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/atm/iphase.c')
0 files changed, 0 insertions, 0 deletions