]> git.baikalelectronics.ru Git - kernel.git/commit
tcp: ipv6: bind() use stronger condition for bind_conflict
authorFlavio Leitner <fbl@redhat.com>
Tue, 5 Mar 2013 08:11:01 +0000 (08:11 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 6 Mar 2013 04:40:00 +0000 (23:40 -0500)
commit617b3951a47ffe36ac36feb16b4d88d98c38ccd5
tree8b9869b2897fc7ee32076445cd2ba679e3276bd8
parent748f8320ddfe79205f4879bbb3e13c363ab08826
tcp: ipv6: bind() use stronger condition for bind_conflict

We must try harder to get unique (addr, port) pairs when
doing port autoselection for sockets with SO_REUSEADDR
option set.

This is a continuation of commit eead865105ef8656a97958b38dc3fa9754e52eb9
for IPv6.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv6/inet6_connection_sock.c