commit | 08334824951dd6d1295860da07b1236d18b0b8df | [log] [tgz] |
---|---|---|
author | Alexander Duyck <aduyck@mirantis.com> | Fri Mar 11 14:05:47 2016 -0800 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 13 23:55:14 2016 -0400 |
tree | 6cb060f2472662019329028c10af017473a5549e | |
parent | 1e94082963747b551b129528714827f76a090e93 [diff] |
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>