summaryrefslogtreecommitdiffstats
path: root/net/ipv6/mcast.c
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-10-08 19:33:06 +0200
committerDavid S. Miller <davem@davemloft.net>2008-10-08 20:13:58 +0200
commita862f6a6dc89c57dd3a959a1636b59f0c27169c2 (patch)
treeade039995f548feecb13b7f0f1647b0f76740a90 /net/ipv6/mcast.c
parentipv6: added net argument to IP6_ADD_STATS_BH (diff)
downloadlinux-a862f6a6dc89c57dd3a959a1636b59f0c27169c2.tar.xz
linux-a862f6a6dc89c57dd3a959a1636b59f0c27169c2.zip
ipv6: added net argument to ICMP6_INC_STATS
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/mcast.c')
-rw-r--r--net/ipv6/mcast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/mcast.c b/net/ipv6/mcast.c
index 88811ebbe4be..fa413afeb994 100644
--- a/net/ipv6/mcast.c
+++ b/net/ipv6/mcast.c
@@ -1840,7 +1840,7 @@ static void igmp6_send(struct in6_addr *addr, struct net_device *dev, int type)
out:
if (!err) {
ICMP6MSGOUT_INC_STATS(idev, type);
- ICMP6_INC_STATS(idev, ICMP6_MIB_OUTMSGS);
+ ICMP6_INC_STATS(net, idev, ICMP6_MIB_OUTMSGS);
IP6_INC_STATS(net, idev, IPSTATS_MIB_OUTMCASTPKTS);
} else
IP6_INC_STATS(net, idev, IPSTATS_MIB_OUTDISCARDS);