]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blobdiff - net/ipv6/tcp_ipv6.c
ipv6: added net argument to ICMP6_INC_STATS_BH
[mirror_ubuntu-zesty-kernel.git] / net / ipv6 / tcp_ipv6.c
index 6268d266c0349f8ea42a6b4c4c4f4d672f715c2b..424d9c4a67ac39b95ca16fb50ff3e2fc6eb80df1 100644 (file)
@@ -330,7 +330,8 @@ static void tcp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
                        th->dest, &hdr->saddr, th->source, skb->dev->ifindex);
 
        if (sk == NULL) {
-               ICMP6_INC_STATS_BH(__in6_dev_get(skb->dev), ICMP6_MIB_INERRORS);
+               ICMP6_INC_STATS_BH(net, __in6_dev_get(skb->dev),
+                                  ICMP6_MIB_INERRORS);
                return;
        }