Re: [PATCH net-next] sock: remove zerocopy sockopt restriction on closed tcp state

2018-03-14 Thread David Miller
From: Willem de Bruijn Date: Wed, 14 Mar 2018 12:49:19 -0400 > From: Willem de Bruijn > > Socket option SO_ZEROCOPY determines whether the kernel ignores or > processes flag MSG_ZEROCOPY on subsequent send calls. This to avoid > changing

[PATCH net-next] sock: remove zerocopy sockopt restriction on closed tcp state

2018-03-14 Thread Willem de Bruijn
From: Willem de Bruijn Socket option SO_ZEROCOPY determines whether the kernel ignores or processes flag MSG_ZEROCOPY on subsequent send calls. This to avoid changing behavior for legacy processes. Limiting the state change to closed sockets is annoying with passive sockets