diff options
author | Willem de Bruijn <willemb@google.com> | 2017-12-22 19:00:19 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-12-27 16:44:13 -0500 |
commit | 02583adeff12fa0a4d72558853a926867afb226c (patch) | |
tree | 61bb4d25bbfbbaa8c0912f6781f1be2214b1252a /drivers/rtc/rtc-twl.c | |
parent | 111856c758d9a06145da446e0db8f71988eebf02 (diff) | |
download | linux-02583adeff12fa0a4d72558853a926867afb226c.tar.gz linux-02583adeff12fa0a4d72558853a926867afb226c.tar.xz |
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>
Diffstat (limited to 'drivers/rtc/rtc-twl.c')
0 files changed, 0 insertions, 0 deletions