diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-16 23:22:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-16 23:22:46 -0400 |
commit | 74688e487a407a33d42879957b478601aca616b8 (patch) | |
tree | 38c3be832e3ac9379b9b4f5a836caf9540d1b14c /net/ipv4/tcp.c | |
parent | 63231bddf6514778792d3784f63822473d250fc0 (diff) |
mib: add net to TCP_DEC_STATS
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp.c')
-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 |