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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Jun 21, 2017 at 4:36 PM, Willem de Bruijn
<willemdebruijn.kernel@xxxxxxxxx> wrote:
> From: Willem de Bruijn <willemb@xxxxxxxxxx>
>
> 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@xxxxxxxxxx>

This was not rebased on top of the SO_PEERGROUPS patch. I will send a v3.
--
To unsubscribe from this list: send the line "unsubscribe linux-api" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux