Re: 3.8-rc2/rc3 write() blocked on CLOSE_WAIT TCP socket

From: Eric Wong
Date: Thu Jan 10 2013 - 21:50:26 EST


Eric Dumazet <eric.dumazet@xxxxxxxxx> wrote:
> Yes, thats definitely the problem, sorry for that.
>
>
> [PATCH] tcp: accept RST without ACK flag
>
> commit c3ae62af8e755 (tcp: should drop incoming frames without ACK flag
> set) added a regression on the handling of RST messages.
>
> RST should be allowed to come even without ACK bit set. We validate
> the RST by checking the exact sequence, as requested by RFC 793 and
> 5961 3.2, in tcp_validate_incoming()
>
> Reported-by: Eric Wong <normalperson@xxxxxxxx>
> Signed-off-by: Eric Dumazet <edumazet@xxxxxxxxxx>

All good here, thanks for the quick turnaround!

Tested-by: Eric Wong <normalperson@xxxxxxxx>

(I originally thought the FIFOs were part of the problem, so I left
that in my test case)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/