diff options
author | Coco Li <lixiaoyan@google.com> | 2021-12-24 01:24:41 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-01-05 14:34:58 +0300 |
commit | cd045c467c7614cbe75d5421c79396dd25a5fded (patch) | |
tree | 95ccb88f9e3b5743f628c16bd69a33cc895431f7 /drivers/firmware/tegra | |
parent | bbd9c7120c31c1aff6dcffdcce122773d163df72 (diff) | |
download | linux-cd045c467c7614cbe75d5421c79396dd25a5fded.tar.xz |
selftests: Calculate udpgso segment count without header adjustment
[ Upstream commit 5471d5226c3b39b3d2f7011c082d5715795bd65c ]
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 <lixiaoyan@google.com>
Reviewed-by: Willem de Bruijn <willemb@google.com>
Link: https://lore.kernel.org/r/20211223222441.2975883-2-lixiaoyan@google.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/firmware/tegra')
0 files changed, 0 insertions, 0 deletions