summaryrefslogtreecommitdiffstats
path: root/net/ipv4/ip_fragment.c
diff options
context:
space:
mode:
authorPavel Emelyanov <xemul@openvz.org>2008-07-17 05:20:33 +0200
committerDavid S. Miller <davem@davemloft.net>2008-07-17 05:20:33 +0200
commitc5346fe396f5e22bbfb3ec037c43891c3c57d3e6 (patch)
tree9252111b8b89e86e980a5af0055c696796cdfc12 /net/ipv4/ip_fragment.c
parentmib: add net to IP_INC_STATS_BH (diff)
downloadlinux-c5346fe396f5e22bbfb3ec037c43891c3c57d3e6.tar.xz
linux-c5346fe396f5e22bbfb3ec037c43891c3c57d3e6.zip
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 65364c06ada5..38d38f058018 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);
}
/*