From: Josh Hunt
Date: Wed, 2 Oct 2019 13:29:22 -0400
> Commit dfec0ee22c0a ("udp: Record gso_segs when supporting UDP segmentation
> offload")
> added gso_segs calculation, but incorrectly got sizeof() the pointer and
> not the underlying data type. In addition let's fix the v6 case.
>
> Fixes
Commit dfec0ee22c0a ("udp: Record gso_segs when supporting UDP segmentation
offload")
added gso_segs calculation, but incorrectly got sizeof() the pointer and
not the underlying data type. In addition let's fix the v6 case.
Fixes: bec1f6f69736 ("udp: generate gso with UDP_SEGMENT")
Fixes: dfec0ee