diff options
Diffstat (limited to 'net/ipv4')
-rw-r--r-- | net/ipv4/tcp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp.c b/net/ipv4/tcp.c index f742f84026b5..525dcf534153 100644 --- a/net/ipv4/tcp.c +++ b/net/ipv4/tcp.c | |||
@@ -1682,7 +1682,7 @@ void tcp_set_state(struct sock *sk, int state) | |||
1682 | /* fall through */ | 1682 | /* fall through */ |
1683 | default: | 1683 | default: |
1684 | if (oldstate==TCP_ESTABLISHED) | 1684 | if (oldstate==TCP_ESTABLISHED) |
1685 | TCP_DEC_STATS(TCP_MIB_CURRESTAB); | 1685 | TCP_DEC_STATS(sock_net(sk), TCP_MIB_CURRESTAB); |
1686 | } | 1686 | } |
1687 | 1687 | ||
1688 | /* Change state AFTER socket is unhashed to avoid closed | 1688 | /* Change state AFTER socket is unhashed to avoid closed |