linux/net/core
Daniel Lezcano 79b569f0ec 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>
2011-03-30 02:42:17 -07:00
..
datagram.c
dev_addr_lists.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-03-18 10:37:40 -07:00
dev.c netdev: fix mtu check when TSO is enabled 2011-03-30 02:42:17 -07:00
drop_monitor.c net: fix incorrect spelling in drop monitor protocol 2011-03-21 18:20:26 -07:00
dst.c net: Add initial_ref arg to dst_alloc(). 2011-02-17 15:44:00 -08:00
ethtool.c net: fix ethtool->set_flags not intended -EINVAL return value 2011-03-27 23:35:24 -07:00
fib_rules.c net: Put flowi_* prefix on AF independent members of struct flowi 2011-03-12 15:08:44 -08:00
filter.c net: filter: dont block softirqs in sk_run_filter() 2011-01-18 21:33:05 -08:00
flow.c net: Make flow cache paths use a const struct flowi. 2011-02-22 18:44:31 -08:00
gen_estimator.c
gen_stats.c
iovec.c
kmap_skb.h
link_watch.c
Makefile
neighbour.c neigh: __rcu annotations 2011-01-20 16:59:34 -08:00
net_namespace.c
net-sysfs.c net: rename group sysfs entry to netdev_group 2011-02-09 19:16:15 -08:00
net-sysfs.h
net-traces.c
netevent.c
netpoll.c bond: service netpoll arp queue on master device 2011-02-27 20:11:54 -08:00
pktgen.c kthread: use kthread_create_on_node() 2011-03-22 17:44:01 -07:00
request_sock.c
rtnetlink.c rtnetlink: implement setting of master device 2011-02-13 16:58:39 -08:00
scm.c Allow passing O_PATH descriptors via SCM_RIGHTS datagrams 2011-03-15 02:21:45 -04:00
skbuff.c net: introduce rx_handler results and logic around that 2011-03-16 12:53:54 -07:00
sock.c
stream.c
sysctl_net_core.c
timestamping.c
user_dma.c
utils.c