aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/ipv4/udp_offload.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2018-05-07 11:08:22 -0700
committerDavid S. Miller <davem@davemloft.net>2018-05-08 22:30:05 -0400
commitdfec0ee22c0a4488e4f4c764b2720d3096920383 (patch)
tree42f86b2a8e499b72818c3f3f0a548b1342452e3f /net/ipv4/udp_offload.c
parentdt-bindings: dsa: Remove unnecessary #address/#size-cells (diff)
downloadwireguard-linux-dfec0ee22c0a4488e4f4c764b2720d3096920383.tar.xz
wireguard-linux-dfec0ee22c0a4488e4f4c764b2720d3096920383.zip
udp: Record gso_segs when supporting UDP segmentation offload
We need to record the number of segments that will be generated when this frame is segmented. The expectation is that if gso_size is set then gso_segs is set as well. Without this some drivers such as ixgbe get confused if they attempt to offload this as they record 0 segments for the entire packet instead of the correct value. Reviewed-by: Eric Dumazet <edumazet@google.com> Acked-by: Willem de Bruijn <willemb@google.com> Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udp_offload.c')
0 files changed, 0 insertions, 0 deletions