aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/ip6mr.c
diff options
context:
space:
mode:
authorRami Rosen <ramirose@gmail.com>2008-04-14 02:59:13 -0400
committerDavid S. Miller <davem@davemloft.net>2008-04-14 02:59:13 -0400
commit0912ea38de61378c5c753aef78c12e2f95854313 (patch)
treefba14f973c7062a904f27fa47c45f81868be02f3 /net/ipv6/ip6mr.c
parent0b18542b7f5379e052d2a3132be91185776e7ceb (diff)
[IPV6] MROUTE: Add stats in multicast routing module method ip6_mr_forward().
This patches adds a call to increment IPSTATS_MIB_OUTFORWDATAGRAMS when forwarding the packet in ip6_mr_forward() in the IPv6 multicast routing module (net/ipv6/ip6mr.c). Signed-off-by: Rami Rosen <ramirose@gmail.com> Signed-off-by: YOSHIFUJI Hideaki <yoshfuji@linux-ipv6.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/ip6mr.c')
-rw-r--r--net/ipv6/ip6mr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6mr.c b/net/ipv6/ip6mr.c
index 6e2e3c957a31..c8c6e33d1163 100644
--- a/net/ipv6/ip6mr.c
+++ b/net/ipv6/ip6mr.c
@@ -1354,7 +1354,7 @@ int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg)
1354 1354
1355static inline int ip6mr_forward2_finish(struct sk_buff *skb) 1355static inline int ip6mr_forward2_finish(struct sk_buff *skb)
1356{ 1356{
1357 /* XXX stats */ 1357 IP6_INC_STATS_BH(ip6_dst_idev(skb->dst), IPSTATS_MIB_OUTFORWDATAGRAMS);
1358 return dst_output(skb); 1358 return dst_output(skb);
1359} 1359}
1360 1360