Thread (1 message) 1 message, 1 author, 2017-06-21

Re: [PATCH net-next v2 04/13] sock: add SOCK_ZEROCOPY sockopt

From: Willem de Bruijn <hidden>
Date: 2017-06-21 20:56:05
Also in: netdev

On Wed, Jun 21, 2017 at 4:36 PM, Willem de Bruijn
[off-list ref] wrote:
From: Willem de Bruijn <redacted>

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 <redacted>
This was not rebased on top of the SO_PEERGROUPS patch. I will send a v3.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help