From: Willem de Bruijn <willemdebruijn.ker...@gmail.com> Date: Thu, 10 Jan 2019 14:40:33 -0500
> From: Willem de Bruijn <will...@google.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 <ma...@cloudflare.com> > Signed-off-by: Willem de Bruijn <will...@google.com> Applied and queued up for -stable.