]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sctp/ipv6.c
ipv6: added net argument to ICMP6_INC_STATS_BH
[net-next-2.6.git] / net / sctp / ipv6.c
index c78da3c9dd347ed16952d4ba98eb1341574dff7d..4124bbb9994774cc6536cd1dd8f092202ca68d6e 100644 (file)
@@ -156,7 +156,7 @@ SCTP_STATIC void sctp_v6_err(struct sk_buff *skb, struct inet6_skb_parm *opt,
        skb->network_header   = saveip;
        skb->transport_header = savesctp;
        if (!sk) {
-               ICMP6_INC_STATS_BH(idev, ICMP6_MIB_INERRORS);
+               ICMP6_INC_STATS_BH(dev_net(skb->dev), idev, ICMP6_MIB_INERRORS);
                goto out;
        }