[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20100420.171416.157904027.davem@davemloft.net>
Date: Tue, 20 Apr 2010 17:14:16 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: greearb@...delatech.com, gasparch@...il.com, netdev@...r.kernel.org
Subject: Re: PROBLEM: Linux kernel 2.6.31 IPv4 TCP fails to open huge
amount of outgoing connections (unable to bind ... )
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Wed, 21 Apr 2010 02:05:14 +0200
> [PATCH net-next-2.6] tcp: remove bsockets count
>
> Counting number of bound sockets to avoid a loop is buggy, since we cant
> know how many IP addresses are in use. When threshold is reached, we try
> 5 random slots and can fail while there are plenty available ports.
>
> Signed-off-by: Eric Dumazet <eric.dumazet@...il.com>
Hmmm, yes indeed it seems there are improper assumptions made by
this scheme.
This is a tricky area, so I'll wait for some test results from the
reporter and study the code over a few times myself to make sure
we get this right.
--
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