Re: [PATCH net v2 1/2] udp: fix gso_segs calculations

2019-10-03 Thread David Miller
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

[PATCH net v2 1/2] udp: fix gso_segs calculations

2019-10-02 Thread Josh Hunt
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