Commit 6443bb1
ipv6: Fix inet6_csk_bind_conflict()
Commit fda48a0 (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 <[email protected]>
Signed-off-by: Eric Dumazet <[email protected]>
Tested-by: Michael S. Tsirkin <[email protected]>
Signed-off-by: David S. Miller <[email protected]>1 parent 401da6a commit 6443bb1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| |||
0 commit comments