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-03-07 16:54:32 +01:00
2015-02-10 16:38:58 +01:00
2014-07-16 17:57:33 -03:00
2017-06-22 12:41:07 +02:00
2016-06-10 12:07:12 +02:00
2017-08-03 21:37:29 -07:00
2014-10-09 09:14:13 +02:00
2013-03-05 19:12:10 -03:00