diff options
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index 2e4e24476c4c..ecd19b5a7ee2 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c | |||
@@ -128,6 +128,11 @@ again: | |||
128 | goto have_snum; | 128 | goto have_snum; |
129 | } | 129 | } |
130 | } | 130 | } |
131 | if (!inet_csk(sk)->icsk_af_ops->bind_conflict(sk, tb)) { | ||
132 | spin_unlock(&head->lock); | ||
133 | snum = rover; | ||
134 | goto have_snum; | ||
135 | } | ||
131 | goto next; | 136 | goto next; |
132 | } | 137 | } |
133 | break; | 138 | break; |