diff options
author | Alexander Duyck <aduyck@mirantis.com> | 2016-03-11 23:05:47 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-03-14 04:55:14 +0100 |
commit | 08334824951dd6d1295860da07b1236d18b0b8df (patch) | |
tree | 6cb060f2472662019329028c10af017473a5549e /net/ipv4/tcp_htcp.c | |
parent | ipv6: Pass proto to csum_ipv6_magic as __u8 instead of unsigned short (diff) | |
download | linux-08334824951dd6d1295860da07b1236d18b0b8df.tar.xz linux-08334824951dd6d1295860da07b1236d18b0b8df.zip |
GSO/UDP: Use skb->len instead of udph->len to determine length of original skb
It is possible for tunnels to end up generating IP or IPv6 datagrams that
are larger than 64K and expecting to be segmented. As such we need to deal
with length values greater than 64K. In order to accommodate this we need
to update the code to work with a 32b length value instead of a 16b one.
Signed-off-by: Alexander Duyck <aduyck@mirantis.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_htcp.c')
0 files changed, 0 insertions, 0 deletions