Files
linux/net/ipv4
John Fastabend 312fc2b4c8 net: do_tcp_sendpages flag to avoid SKBTX_SHARED_FRAG
When calling do_tcp_sendpages() from in kernel and we know the data
has no references from user side we can omit SKBTX_SHARED_FRAG flag.
This patch adds an internal flag, NO_SKBTX_SHARED_FRAG that can be used
to omit setting SKBTX_SHARED_FRAG.

The flag is not exposed to userspace because the sendpage call from
the splice logic masks out all bits except MSG_MORE.

Signed-off-by: John Fastabend <john.fastabend@gmail.com>
Acked-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
2018-03-19 21:14:38 +01:00
..
2017-10-21 01:33:19 +01:00
2018-03-05 10:48:28 -05:00
2018-01-24 19:13:45 -05:00
2018-03-01 13:13:23 -05:00
2018-03-01 13:13:23 -05:00
2018-02-28 11:43:28 -05:00
2018-03-01 21:44:28 -05:00
2017-10-16 21:24:25 +01:00
2018-02-28 11:43:28 -05:00
2018-02-28 11:43:28 -05:00
2013-05-31 17:19:05 -07:00