diff options
author | Alexey Kodanev <alexey.kodanev@oracle.com> | 2017-10-06 19:02:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-11-18 11:22:20 +0100 |
commit | 97ba8f88b4482874d8a2ed76ab1d00bd563f7dc0 (patch) | |
tree | 92e16f8a34910206f6d17208449982eb3235751e /Documentation/usb/chipidea.txt | |
parent | 9b609ba2c2df8290054e5c62be69101b43e2a976 (diff) | |
download | linux-rt-97ba8f88b4482874d8a2ed76ab1d00bd563f7dc0.tar.gz |
gso: fix payload length when gso_size is zero
[ Upstream commit 3d0241d57c7b25bb75ac9d7a62753642264fdbce ]
When gso_size reset to zero for the tail segment in skb_segment(), later
in ipv6_gso_segment(), __skb_udp_tunnel_segment() and gre_gso_segment()
we will get incorrect results (payload length, pcsum) for that segment.
inet_gso_segment() already has a check for gso_size before calculating
payload.
The issue was found with LTP vxlan & gre tests over ixgbe NIC.
Fixes: 07b26c9454a2 ("gso: Support partial splitting at the frag_list pointer")
Signed-off-by: Alexey Kodanev <alexey.kodanev@oracle.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/usb/chipidea.txt')
0 files changed, 0 insertions, 0 deletions