diff options
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index ee55678a987d..8d70cfbacb78 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c | |||
@@ -133,8 +133,6 @@ int inet_csk_get_port(struct sock *sk, unsigned short snum) | |||
133 | goto tb_not_found; | 133 | goto tb_not_found; |
134 | tb_found: | 134 | tb_found: |
135 | if (!hlist_empty(&tb->owners)) { | 135 | if (!hlist_empty(&tb->owners)) { |
136 | if (sk->sk_reuse > 1) | ||
137 | goto success; | ||
138 | if (tb->fastreuse > 0 && | 136 | if (tb->fastreuse > 0 && |
139 | sk->sk_reuse && sk->sk_state != TCP_LISTEN) { | 137 | sk->sk_reuse && sk->sk_state != TCP_LISTEN) { |
140 | goto success; | 138 | goto success; |