aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index ff5d30ac2b06..6c6c879e7e87 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1266,7 +1266,7 @@ static __inline__ void tcp_set_state(struct sock *sk, int state)
1266 TCP_INC_STATS(TCP_MIB_ESTABRESETS); 1266 TCP_INC_STATS(TCP_MIB_ESTABRESETS);
1267 1267
1268 sk->sk_prot->unhash(sk); 1268 sk->sk_prot->unhash(sk);
1269 if (tcp_sk(sk)->bind_hash && 1269 if (inet_sk(sk)->bind_hash &&
1270 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK)) 1270 !(sk->sk_userlocks & SOCK_BINDPORT_LOCK))
1271 tcp_put_port(sk); 1271 tcp_put_port(sk);
1272 /* fall through */ 1272 /* fall through */