summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_fragment.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-16 20:20:33 -0700
committerDavid S. Miller <davem@davemloft.net>2008-07-16 20:20:33 -0700
commitc5346fe396f5e22bbfb3ec037c43891c3c57d3e6 (patch)
tree9252111b8b89e86e980a5af0055c696796cdfc12 /net/ipv4/ip_fragment.c
parent7c73a6faffae0bfae70639113aecf06af666e714 (diff)
downloadop-kernel-dev-c5346fe396f5e22bbfb3ec037c43891c3c57d3e6.zip
op-kernel-dev-c5346fe396f5e22bbfb3ec037c43891c3c57d3e6.tar.gz
mib: add net to IP_ADD_STATS_BH
Very simple - only ip_evictor (fragments) requires such. This patch ends up the IP_XXX_STATS patching. Signed-off-by: Pavel Emelyanov <xemul@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/ip_fragment.c')
-rw-r--r--net/ipv4/ip_fragment.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_fragment.c b/net/ipv4/ip_fragment.c
index 65364c0..38d38f0 100644
--- a/net/ipv4/ip_fragment.c
+++ b/net/ipv4/ip_fragment.c
@@ -178,7 +178,7 @@ static void ip_evictor(struct net *net)
evicted = inet_frag_evictor(&net->ipv4.frags, &ip4_frags);
if (evicted)
- IP_ADD_STATS_BH(IPSTATS_MIB_REASMFAILS, evicted);
+ IP_ADD_STATS_BH(net, IPSTATS_MIB_REASMFAILS, evicted);
}
/*
OpenPOWER on IntegriCloud