diff options
author | Denis V. Lunev <den@openvz.org> | 2008-10-08 17:33:26 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 18:14:13 (GMT) |
commit | e41b5368e029e79d11acb5952bc73284e5026c62 (patch) | |
tree | 82d519911fb97171259260655e9b86a20fcfe378 /net/sctp/ipv6.c | |
parent | a862f6a6dc89c57dd3a959a1636b59f0c27169c2 (diff) | |
download | linux-e41b5368e029e79d11acb5952bc73284e5026c62.tar.xz |
ipv6: added net argument to ICMP6_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/sctp/ipv6.c')
-rw-r--r-- | net/sctp/ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sctp/ipv6.c b/net/sctp/ipv6.c index c78da3c..4124bbb 100644 --- a/net/sctp/ipv6.c +++ b/net/sctp/ipv6.c @@ -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; } |