Willem de Bruijn 76851d1212 sock: add SOCK_ZEROCOPY sockopt
The send call ignores unknown flags. Legacy applications may already
unwittingly pass MSG_ZEROCOPY. Continue to ignore this flag unless a
socket opts in to zerocopy.

Introduce socket option SO_ZEROCOPY to enable MSG_ZEROCOPY processing.
Processes can also query this socket option to detect kernel support
for the feature. Older kernels will return ENOPROTOOPT.

Signed-off-by: Willem de Bruijn <willemb@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-08-03 21:37:29 -07:00
..
2016-10-06 17:31:02 +02:00
2016-08-03 08:16:30 +02:00
2017-01-25 02:51:11 +01:00
2016-04-03 12:32:09 +02:00
2017-08-03 21:37:29 -07:00
2017-07-06 18:38:31 -07:00
2017-06-28 12:22:39 +02:00
2017-03-08 10:38:06 +01:00
2017-04-06 02:08:06 -04:00
2017-05-18 15:39:19 -05:00
2017-03-08 10:38:06 +01:00
2017-04-10 11:56:07 +02:00