[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20151013.182758.307245280925758827.davem@davemloft.net>
Date: Tue, 13 Oct 2015 18:27:58 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] tcp/dccp: fix behavior of stale SYN_RECV
request sockets
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Tue, 13 Oct 2015 17:12:54 -0700
> From: Eric Dumazet <edumazet@...gle.com>
>
> When a TCP/DCCP listener is closed, its pending SYN_RECV request sockets
> become stale, meaning 3WHS can not complete.
>
> But current behavior is wrong :
> incoming packets finding such stale sockets are dropped.
>
> We need instead to cleanup the request socket and perform another
> lookup :
> - Incoming ACK will give a RST answer,
> - SYN rtx might find another listener if available.
> - We expedite cleanup of request sockets and old listener socket.
>
> Fixes: 079096f103fa ("tcp/dccp: install syn_recv requests into ehash table")
> Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Applied, thanks Eric.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists