]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6f1b7e98715bd8afcd53c2b501e874d90266a54b
tree45cf751adb10dabaf383eaa07238c3427e3fe3f0
parente3c764278e002669474654b6ec19fde2957df90c
gso: Support partial splitting at the frag_list pointer

Since commit 1bd5a74ef ("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