On 01/10/2019 11:45 AM, Soheil Hassas Yeganeh wrote:
> On Thu, Jan 10, 2019 at 2:40 PM Willem de Bruijn
> <willemdebruijn.ker...@gmail.com> wrote:
>>
>> 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>
>> CC: Yuchung Cheng <ych...@google.com>
>> CC: Neal Cardwell <ncardw...@google.com>
>> CC: Soheil Hassas Yeganeh <soh...@google.com>
>> CC: Alexey Kodanev <alexey.koda...@oracle.com>
> 
> Acked-by: Soheil Hassas Yeganeh <soh...@google.com>
> 
> Thank you for the fix!

Reviewed-by: Eric Dumazet <eduma...@google.com>

Reply via email to