[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091208.201850.06581533.davem@davemloft.net>
Date: Tue, 08 Dec 2009 20:18:50 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: kdakhane@...il.com, netdev@...r.kernel.org,
netfilter@...r.kernel.org, zbr@...emap.net
Subject: Re: [PATCH 1/2] tcp: Fix a connect() race with timewait sockets
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Fri, 04 Dec 2009 14:46:54 +0100
> First patch changes __inet_hash_nolisten() and __inet6_hash()
> to get a timewait parameter to be able to unhash it from ehash
> at same time the new socket is inserted in hash.
>
> This makes sure timewait socket wont be found by a concurrent
> writer in __inet_check_established()
>
> Reported-by: kapil dakhane <kdakhane@...il.com>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Applied and queued up for -stable.
--
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