diff options
author | Denis V. Lunev <den@openvz.org> | 2008-10-08 20:09:27 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-10-08 20:09:27 +0200 |
commit | 483a47d2fe794328d29950fe00ce26dd405d9437 (patch) | |
tree | 44a6daeb0ca377a733a1c8fcca44663ae8fd7811 /net/ipv6/ip6mr.c | |
parent | netns: add net parameter to IP6_INC_STATS (diff) | |
download | linux-483a47d2fe794328d29950fe00ce26dd405d9437.tar.xz linux-483a47d2fe794328d29950fe00ce26dd405d9437.zip |
ipv6: added net argument to IP6_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/ipv6/ip6mr.c')
-rw-r--r-- | net/ipv6/ip6mr.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c index 095bc453ff4c..182f8a177e7f 100644 --- a/net/ipv6/ip6mr.c +++ b/net/ipv6/ip6mr.c @@ -1383,7 +1383,8 @@ int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg) static inline int ip6mr_forward2_finish(struct sk_buff *skb) { - IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_OUTFORWDATAGRAMS); + IP6_INC_STATS_BH(dev_net(skb->dst->dev), ip6_dst_idev(skb->dst), + IPSTATS_MIB_OUTFORWDATAGRAMS); return dst_output(skb); } |