diff options
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 9d74eee334d6..b69c7030aba9 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c | |||
@@ -1994,7 +1994,7 @@ static int tcp_v6_init_sock(struct sock *sk) | |||
1994 | sk->sk_rcvbuf = sysctl_tcp_rmem[1]; | 1994 | sk->sk_rcvbuf = sysctl_tcp_rmem[1]; |
1995 | 1995 | ||
1996 | local_bh_disable(); | 1996 | local_bh_disable(); |
1997 | percpu_counter_inc(&tcp_sockets_allocated); | 1997 | sk_sockets_allocated_inc(sk); |
1998 | local_bh_enable(); | 1998 | local_bh_enable(); |
1999 | 1999 | ||
2000 | return 0; | 2000 | return 0; |