]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "tcp: bind() fix when many ports are bound"
authorDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 18:25:59 +0000 (11:25 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 28 Apr 2010 18:25:59 +0000 (11:25 -0700)
commitcedff3595d56c423a8f12a4155d8250fd3d69b35
treebc0c6da1df80e826f47588744ebfded7f1949a95
parentc399e6338ae1995c3fb371e4ff844ea7b07af0a2
Revert "tcp: bind() fix when many ports are bound"

This reverts two commits:

f4899d0dac5bcdf21b7dd13b55e0c58c6e1262ed
tcp: bind() fix when many ports are bound

and a follow-on fix for it:

b41cd8a6cd1d6cb96488579dfa91af5cefdf09d5
ipv6: Fix inet6_csk_bind_conflict()

It causes problems with binding listening sockets when time-wait
sockets from a previous instance still are alive.

It's too late to keep fiddling with this so late in the -rc
series, and we'll deal with it in net-next-2.6 instead.

Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/inet_connection_sock.c
net/ipv6/inet6_connection_sock.c