X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=net%2Fipv6%2Ficmp.c;h=9b7d19ae5ced5c7aa50dc5e48b98d7d7007c8770;hb=55d43808eb26e689dacb95b11f956a3b1a56a5f3;hp=4c961556306a6883efcc3be76211f7c80ea348ac;hpb=a712d3e859b78edc44d5664d867626d3022bd18e;p=~andy%2Flinux diff --git a/net/ipv6/icmp.c b/net/ipv6/icmp.c index 4c961556306..9b7d19ae5ce 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: