[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20190115.214439.834672039352446696.davem@davemloft.net>
Date: Tue, 15 Jan 2019 21:44:39 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: willemdebruijn.kernel@...il.com
Cc: netdev@...r.kernel.org, edumazet@...gle.com, willemb@...gle.com,
marek@...udflare.com, ycheng@...gle.com, ncardwell@...gle.com,
soheil@...gle.com, alexey.kodanev@...cle.com
Subject: Re: [PATCH net] tcp: allow MSG_ZEROCOPY transmission also in
CLOSE_WAIT state
From: Willem de Bruijn <willemdebruijn.kernel@...il.com>
Date: Thu, 10 Jan 2019 14:40:33 -0500
> From: Willem de Bruijn <willemb@...gle.com>
>
> TCP transmission with MSG_ZEROCOPY fails if the peer closes its end of
> the connection and so transitions this socket to CLOSE_WAIT state.
>
> Transmission in close wait state is acceptable. Other similar tests in
> the stack (e.g., in FastOpen) accept both states. Relax this test, too.
>
> Link: https://www.mail-archive.com/netdev@vger.kernel.org/msg276886.html
> Link: https://www.mail-archive.com/netdev@vger.kernel.org/msg227390.html
> Fixes: f214f915e7db ("tcp: enable MSG_ZEROCOPY")
> Reported-by: Marek Majkowski <marek@...udflare.com>
> Signed-off-by: Willem de Bruijn <willemb@...gle.com>
Applied and queued up for -stable.
Powered by blists - more mailing lists