diff options
| author | Florian Westphal <[email protected]> | 2014-04-09 08:28:50 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2014-04-11 01:41:25 +0000 |
| commit | 6d39d589bb76ee8a1c6cde6822006ae0053decff (patch) | |
| tree | 1b54b48a6b8c3b95df7f6fadc6741e4683c70dc0 /net/unix/af_unix.c | |
| parent | l2tp: take PMTU from tunnel UDP socket (diff) | |
| download | kernel-6d39d589bb76ee8a1c6cde6822006ae0053decff.tar.gz kernel-6d39d589bb76ee8a1c6cde6822006ae0053decff.zip | |
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: fe6cc55f3a9a053 ("net: ip, ipv6: handle gso skbs in forwarding path")
Cc: Eric Dumazet <[email protected]>
Reported-by: Tobias Brunner <[email protected]>
Signed-off-by: Florian Westphal <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
