diff options
author | Eric Dumazet <eric.dumazet@gmail.com> | 2010-04-26 02:09:42 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-04-26 02:09:42 +0400 |
commit | 6443bb1fc2050ca2b6585a3fa77f7833b55329ed (patch) | |
tree | 1a6634f8a857fb3ef050ef37fd467ac138efe5d8 /security/keys | |
parent | 401da6aea31ef69c2fcd260382adabdcf7ce820a (diff) | |
download | linux-6443bb1fc2050ca2b6585a3fa77f7833b55329ed.tar.xz |
ipv6: Fix inet6_csk_bind_conflict()
Commit fda48a0d7a84 (tcp: bind() fix when many ports are bound)
introduced a bug on IPV6 part.
We should not call ipv6_addr_any(inet6_rcv_saddr(sk2)) but
ipv6_addr_any(inet6_rcv_saddr(sk)) because sk2 can be IPV4, while sk is
IPV6.
Reported-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Eric Dumazet <eric.dumazet@gmail.com>
Tested-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'security/keys')
0 files changed, 0 insertions, 0 deletions