diff options
author | Pavel Emelyanov <xemul@openvz.org> | 2008-07-16 23:20:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-16 23:20:11 -0400 |
commit | 7c73a6faffae0bfae70639113aecf06af666e714 (patch) | |
tree | 3d7910c4674b673b061f3168b140454b1950c346 /net/ipv4/tcp_ipv4.c | |
parent | 5e38e270444f2629de7a706b5a9ca1b333d14517 (diff) |
mib: add net to IP_INC_STATS_BH
Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/tcp_ipv4.c')
-rw-r--r-- | net/ipv4/tcp_ipv4.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 0fefd4409413..7797d528701b 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c | |||
@@ -175,7 +175,7 @@ int tcp_v4_connect(struct sock *sk, struct sockaddr *uaddr, int addr_len) | |||
175 | inet->sport, usin->sin_port, sk, 1); | 175 | inet->sport, usin->sin_port, sk, 1); |
176 | if (tmp < 0) { | 176 | if (tmp < 0) { |
177 | if (tmp == -ENETUNREACH) | 177 | if (tmp == -ENETUNREACH) |
178 | IP_INC_STATS_BH(IPSTATS_MIB_OUTNOROUTES); | 178 | IP_INC_STATS_BH(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); |
179 | return tmp; | 179 | return tmp; |
180 | } | 180 | } |
181 | 181 | ||