aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorCoco Li <[email protected]>2021-12-23 22:24:40 +0000
committerJakub Kicinski <[email protected]>2021-12-23 19:20:06 -0800
commit736ef37fd9a44f5966e25319d08ff7ea99ac79e8 (patch)
tree6c7c32004e88aa61ddbc91a2e2e7513eab853983 /lib/test_overflow.c
parent6f6f0ac6648dfcc5f9bcf6fde7fb5b52094524a7 (diff)
udp: using datalen to cap ipv6 udp max gso segments
The max number of UDP gso segments is intended to cap to UDP_MAX_SEGMENTS, this is checked in udp_send_skb(). skb->len contains network and transport header len here, we should use only data len instead. This is the ipv6 counterpart to the below referenced commit, which missed the ipv6 change Fixes: 158390e45612 ("udp: using datalen to cap max gso segments") Signed-off-by: Coco Li <[email protected]> Reviewed-by: Willem de Bruijn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'lib/test_overflow.c')
0 files changed, 0 insertions, 0 deletions