gso: Support partial splitting at the frag_list pointer
authorSteffen Klassert <steffen.klassert@secunet.com>
Mon, 19 Sep 2016 10:58:47 +0000 (12:58 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 20 Sep 2016 00:59:34 +0000 (20:59 -0400)
commit07b26c9454a2a19fff86d6fcf2aba6bc801eb8d8
tree45cf751adb10dabaf383eaa07238c3427e3fe3f0
parente867e87ae88c54f741d1cabd1de536b4497a0504
gso: Support partial splitting at the frag_list pointer

Since commit 8a29111c7 ("net: gro: allow to build full sized skb")
gro may build buffers with a frag_list. This can hurt forwarding
because most NICs can't offload such packets, they need to be
segmented in software. This patch splits buffers with a frag_list
at the frag_list pointer into buffers that can be TSO offloaded.

Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Acked-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/skbuff.c
net/ipv4/af_inet.c
net/ipv4/gre_offload.c
net/ipv4/tcp_offload.c
net/ipv4/udp_offload.c
net/ipv6/ip6_offload.c