]> Pileus Git - ~andy/linux/blobdiff - net/ipv6/icmp.c
ipv6: added net argument to ICMP6MSGIN_INC_STATS_BH
[~andy/linux] / net / ipv6 / icmp.c
index 4c961556306a6883efcc3be76211f7c80ea348ac..9b7d19ae5ced5c7aa50dc5e48b98d7d7007c8770 100644 (file)
@@ -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: