Willem de Bruijn 02583adeff tcp: place all zerocopy payload in frags
This avoids an unnecessary copy of 1-2KB and improves tso_fragment,
which has to fall back to tcp_fragment if skb->len != skb_data_len.

It also avoids a surprising inconsistency in notifications:
Zerocopy packets sent over loopback have their frags copied, so set
SO_EE_CODE_ZEROCOPY_COPIED in the notification. But this currently
does not happen for small packets, because when all data fits in the
linear fragment, data is not copied in skb_orphan_frags_rx.

Reported-by: Tom Deseyn <tom.deseyn@gmail.com>
Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-12-27 16:44:13 -05:00
..
2017-10-18 14:10:29 +01:00
2017-10-21 01:33:19 +01:00
2017-12-26 17:30:11 -05:00
2017-10-12 22:57:11 -07:00
2017-11-11 18:53:16 +09:00
2017-10-16 21:24:25 +01:00
2017-12-13 13:59:21 -05:00
2017-12-27 16:44:13 -05:00