On 01/10/2019 11:45 AM, Soheil Hassas Yeganeh wrote:
> On Thu, Jan 10, 2019 at 2:40 PM Willem de Bruijn
> <[email protected]> wrote:
>>
>> From: Willem de Bruijn <[email protected]>
>>
>> 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/[email protected]/msg276886.html
>> Link: https://www.mail-archive.com/[email protected]/msg227390.html
>> Fixes: f214f915e7db ("tcp: enable MSG_ZEROCOPY")
>> Reported-by: Marek Majkowski <[email protected]>
>> Signed-off-by: Willem de Bruijn <[email protected]>
>> CC: Yuchung Cheng <[email protected]>
>> CC: Neal Cardwell <[email protected]>
>> CC: Soheil Hassas Yeganeh <[email protected]>
>> CC: Alexey Kodanev <[email protected]>
>
> Acked-by: Soheil Hassas Yeganeh <[email protected]>
>
> Thank you for the fix!
Reviewed-by: Eric Dumazet <[email protected]>