[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20091202113213.GA18453@ioremap.net>
Date: Wed, 2 Dec 2009 14:32:13 +0300
From: Evgeniy Polyakov <zbr@...emap.net>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: David Miller <davem@...emloft.net>, kdakhane@...il.com,
netdev@...r.kernel.org, netfilter@...r.kernel.org
Subject: Re: [PATCH] tcp: Fix a connect() race with timewait sockets
On Wed, Dec 02, 2009 at 11:33:55AM +0100, Eric Dumazet (eric.dumazet@...il.com) wrote:
> You need several threads, using sockets with REUSEADDR set,
> and bind() to same address/port before connect() to same target.
>
> We need another patch to correct this.
>
> I wonder if always hold lock before calling check_established()
> would be cleaner.
Isnt this a too big overhead?
--
Evgeniy Polyakov
--
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