acrn-kernel/net/core
Florian Westphal 6d39d589bb net: core: don't account for udp header size when computing seglen
In case of tcp, gso_size contains the tcpmss.

For UFO (udp fragmentation offloading) skbs, gso_size is the fragment
payload size, i.e. we must not account for udp header size.

Otherwise, when using virtio drivers, a to-be-forwarded UFO GSO packet
will be needlessly fragmented in the forward path, because we think its
individual segments are too large for the outgoing link.

Fixes: fe6cc55f3a ("net: ip, ipv6: handle gso skbs in forwarding path")
Cc: Eric Dumazet <eric.dumazet@gmail.com>
Reported-by: Tobias Brunner <tobias@strongswan.org>
Signed-off-by: Florian Westphal <fw@strlen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-04-10 21:41:25 -04:00
..
Makefile net: ptp: move PTP classifier in its own file 2014-04-01 16:43:18 -04:00
datagram.c
dev.c netdev: remove potentially harmful checks 2014-04-07 15:52:07 -04:00
dev_addr_lists.c
dev_ioctl.c
drop_monitor.c
dst.c
ethtool.c net: add busy_poll device feature 2014-04-03 14:31:34 -04:00
fib_rules.c
filter.c net: filter: be more defensive on div/mod by X==0 2014-04-07 12:54:39 -04:00
flow.c CPU hotplug notifiers registration fixes for 3.15-rc1 2014-04-07 14:55:46 -07:00
flow_dissector.c net: Rename skb->rxhash to skb->hash 2014-03-26 15:58:20 -04:00
gen_estimator.c
gen_stats.c
iovec.c
link_watch.c
neighbour.c
net-procfs.c
net-sysfs.c Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-next 2014-04-02 20:53:45 -07:00
net-sysfs.h
net-traces.c
net_namespace.c
netclassid_cgroup.c
netevent.c
netpoll.c netpoll: Use skb_irq_freeable to make zap_completion_queue safe. 2014-04-01 17:53:36 -04:00
netprio_cgroup.c cgroup: drop const from @buffer of cftype->write_string() 2014-03-19 10:23:54 -04:00
pktgen.c pktgen: fix xmit test for BQL enabled devices 2014-04-07 15:20:44 -04:00
ptp_classifier.c net: ptp: move PTP classifier in its own file 2014-04-01 16:43:18 -04:00
request_sock.c
rtnetlink.c net-sysfs: expose number of carrier on/off changes 2014-03-31 16:24:52 -04:00
scm.c
secure_seq.c
skbuff.c net: core: don't account for udp header size when computing seglen 2014-04-10 21:41:25 -04:00
sock.c
sock_diag.c net: filter: keep original BPF program around 2014-03-31 00:45:09 -04:00
stream.c
sysctl_net_core.c
timestamping.c net: ptp: move PTP classifier in its own file 2014-04-01 16:43:18 -04:00
user_dma.c
utils.c