Add stats in multicast routing module method ip6_mr_forward().
Subsystems (3)
PATCH 1/1 Add stats in multicast routing module method ip6_mr_forward().
Hi,
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).
Regards,
Rami Rosen
net/ipv6/ip6mr.c +1 -1
@@ -1368,7 +1368,7 @@ int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg)static inline int ip6mr_forward2_finish (struct sk_buff *skb) { -/* XXX stats */ +IP6_INC_STATS_BH (ip6_dst_idev (skb->dst),IPSTATS_MIB_OUTFORWDATAGRAMS );return dst_output (skb); }
David Miller
maintainerFrom: "Rami Rosen" <[email protected]>
Date: Thu, 10 Apr 2008 21:21:12 +0300
Quoted 5 lines
This patches adds a call to increment
IPSTATS_MIB_OUTFORWDATAGRAMS
when forwarding the packet inip6_mr_forward()in the IPv6
multicast routing module (net/ipv6/ip6mr.c).Signed-off-by Rami Rosen <[email protected]>
This looks OK to me, but I'll let Yoshifuji pick it up.
In article <[email protected]> (at Sun, 13 Apr 2008 23:18:06 -0700 (PDT)), David Miller <[email protected]> says:
Quoted 10 lines
From: "Rami Rosen" <[email protected]>
Date: Thu, 10 Apr 2008 21:21:12 +0300Quoted 5 lines
This patches adds a call to increment
IPSTATS_MIB_OUTFORWDATAGRAMS
when forwarding the packet inip6_mr_forward()in the IPv6
multicast routing module (net/ipv6/ip6mr.c).Signed-off-by Rami Rosen <[email protected]>This looks OK to me, but I'll let Yoshifuji pick it up.
I'm okay with it.
Here it is.
----
Quoted 1 line
From
e70bc6976e796815e176912a92f72719f7276de1Mon Sep 17 00:00:00 2001
From: Rami Rosen <[email protected]>
Date: Thu, 10 Apr 2008 21:21:12 +0300
Subject: [PATCH] [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).
--- net/ipv6/ip6mr.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
net/ipv6/ip6mr.c +1 -1
@@ -1359,7 +1359,7 @@ int ip6mr_ioctl(struct sock *sk, int cmd, void __user *arg)static inline int ip6mr_forward2_finish (struct sk_buff *skb) { -/* XXX stats */ +IP6_INC_STATS_BH (ip6_dst_idev (skb->dst),IPSTATS_MIB_OUTFORWDATAGRAMS );return dst_output (skb); }
Signature · 5 lines
1.4.4.4 -- YOSHIFUJI Hideaki @ USAGI Project <[email protected]> GPG-FP : 9022 65EB 1ECF 3AD1 0BDF 80D8 4807 F894 E062 0EEA
From: YOSHIFUJI Hideaki / 吉藤英明 <[email protected]>
Date: Mon, 14 Apr 2008 15:59:16 +0900 (JST)
Quoted 9 lines
In article <[email protected]> (at Sun, 13 Apr 2008 23:18:06 -0700 (PDT)), David Miller <[email protected]> says:
Quoted 7 lines
From: "Rami Rosen" <[email protected]>
Date: Thu, 10 Apr 2008 21:21:12 +0300Quoted 4 lines
This patches adds a call to increment
IPSTATS_MIB_OUTFORWDATAGRAMS
when forwarding the packet inip6_mr_forward()in the IPv6
multicast routing module (net/ipv6/ip6mr.c).
Quoted 6 lines
Quoted 3 lines
Quoted 1 line
Signed-off-by Rami Rosen <[email protected]>This looks OK to me, but I'll let Yoshifuji pick it up.
I'm okay with it.
Here it is.
Applied, thank you.