kernel-hacking-2024-linux-s.../arch/sparc/include
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
..
asm Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/sparc 2017-07-17 15:08:29 -07:00
uapi/asm sock: add SOCK_ZEROCOPY sockopt 2017-08-03 21:37:29 -07:00