On Thu, 23 Dec 2021 19:19:22 -0800 Jakub Kicinski wrote:
On Thu, 23 Dec 2021 22:24:40 +0000 Coco Li wrote:
quoted
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")
I'm gonna replace the Fixes tag with:
Fixes: bec1f6f69736 ("udp: generate gso with UDP_SEGMENT")
hope that's okay.
Or I'll fumble the git command and accidentally push as is... Whatever.