summaryrefslogtreecommitdiffstats
path: root/net/ipv6
diff options
context:
space:
mode:
authorDenis V. Lunev <den@openvz.org>2008-10-08 19:34:54 +0200
committerDavid S. Miller <davem@davemloft.net>2008-10-08 20:15:46 +0200
commit55d43808eb26e689dacb95b11f956a3b1a56a5f3 (patch)
tree952e6111369f95ab5c25e41c439823966590ecec /net/ipv6
parentipv6: ICMP6MSGIN_INC_STATS is not used (diff)
downloadlinux-55d43808eb26e689dacb95b11f956a3b1a56a5f3.tar.xz
linux-55d43808eb26e689dacb95b11f956a3b1a56a5f3.zip
ipv6: added net argument to ICMP6MSGIN_INC_STATS_BH
Signed-off-by: Denis V. Lunev <den@openvz.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r--net/ipv6/icmp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c
index 4c961556306a..9b7d19ae5ced 100644
--- a/net/ipv6/icmp.c
+++ b/net/ipv6/icmp.c
@@ -693,7 +693,7 @@ static int icmpv6_rcv(struct sk_buff *skb)
type = hdr->icmp6_type;
- ICMP6MSGIN_INC_STATS_BH(idev, type);
+ ICMP6MSGIN_INC_STATS_BH(dev_net(dev), idev, type);
switch (type) {
case ICMPV6_ECHO_REQUEST: