commit | 7c73a6faffae0bfae70639113aecf06af666e714 | [log] [tgz] |
---|---|---|
author | Pavel Emelyanov <xemul@openvz.org> | Wed Jul 16 20:20:11 2008 -0700 |
committer | David S. Miller <davem@davemloft.net> | Wed Jul 16 20:20:11 2008 -0700 |
tree | 3d7910c4674b673b061f3168b140454b1950c346 | |
parent | 5e38e270444f2629de7a706b5a9ca1b333d14517 [diff] [blame] |
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>
diff --git a/net/ipv4/tcp_ipv4.c b/net/ipv4/tcp_ipv4.c index 0fefd44..7797d52 100644 --- a/net/ipv4/tcp_ipv4.c +++ b/net/ipv4/tcp_ipv4.c
@@ -175,7 +175,7 @@ inet->sport, usin->sin_port, sk, 1); if (tmp < 0) { if (tmp == -ENETUNREACH) - IP_INC_STATS_BH(IPSTATS_MIB_OUTNOROUTES); + IP_INC_STATS_BH(sock_net(sk), IPSTATS_MIB_OUTNOROUTES); return tmp; }