Re: [PATCH] tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY

2018-09-07 Thread David Miller
From: Vincent Whitchurch Date: Thu, 6 Sep 2018 15:54:59 +0200 > According to the documentation in msg_zerocopy.rst, the SO_ZEROCOPY > flag was introduced because send(2) ignores unknown message flags and > any legacy application which was accidentally passing the equivalent of > MSG_ZEROCOPY ear

Re: [PATCH] tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY

2018-09-06 Thread Willem de Bruijn
On Thu, Sep 6, 2018 at 9:58 AM Vincent Whitchurch wrote: > > According to the documentation in msg_zerocopy.rst, the SO_ZEROCOPY > flag was introduced because send(2) ignores unknown message flags and > any legacy application which was accidentally passing the equivalent of > MSG_ZEROCOPY earlier

[PATCH] tcp: really ignore MSG_ZEROCOPY if no SO_ZEROCOPY

2018-09-06 Thread Vincent Whitchurch
According to the documentation in msg_zerocopy.rst, the SO_ZEROCOPY flag was introduced because send(2) ignores unknown message flags and any legacy application which was accidentally passing the equivalent of MSG_ZEROCOPY earlier should not see any new behaviour. Before commit f214f915e7db ("tcp: