aboutsummaryrefslogtreecommitdiff
path: root/lib/test_overflow.c
diff options
context:
space:
mode:
authorCoco Li <[email protected]>2021-12-23 22:24:41 +0000
committerJakub Kicinski <[email protected]>2021-12-23 19:20:06 -0800
commit5471d5226c3b39b3d2f7011c082d5715795bd65c (patch)
tree14309a39074964d91bf7010914d5153c81fd5b22 /lib/test_overflow.c
parent736ef37fd9a44f5966e25319d08ff7ea99ac79e8 (diff)
selftests: Calculate udpgso segment count without header adjustment
The below referenced commit correctly updated the computation of number of segments (gso_size) by using only the gso payload size and removing the header lengths. With this change the regression test started failing. Update the tests to match this new behavior. Both IPv4 and IPv6 tests are updated, as a separate patch in this series will update udp_v6_send_skb to match this change in udp_send_skb. 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