netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] bridge: keep track of received multicast packets
       [not found] ` <FFEPKIHJDEDDAAFOFDGFMEJGCBAA.PCDiem@FoxValley.net>
@ 2006-05-04 23:10   ` Stephen Hemminger
  2006-05-06  0:07     ` David S. Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Stephen Hemminger @ 2006-05-04 23:10 UTC (permalink / raw)
  To: Paul C. Diem, David S. Miller; +Cc: bridge, netdev

It makes sense to add this simple statistic to keep track of received
multicast packets.

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

--- bridge.orig/net/bridge/br_input.c	2006-04-21 14:28:55.000000000 -0700
+++ bridge/net/bridge/br_input.c	2006-05-04 16:07:24.000000000 -0700
@@ -66,6 +66,7 @@
 	}
 
 	if (is_multicast_ether_addr(dest)) {
+		br->statistics.multicast++;
 		br_flood_forward(br, skb, !passedup);
 		if (!passedup)
 			br_pass_frame_up(br, skb);

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] bridge: keep track of received multicast packets
  2006-05-04 23:10   ` [PATCH] bridge: keep track of received multicast packets Stephen Hemminger
@ 2006-05-06  0:07     ` David S. Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David S. Miller @ 2006-05-06  0:07 UTC (permalink / raw)
  To: shemminger; +Cc: PCDiem, bridge, netdev

From: Stephen Hemminger <shemminger@osdl.org>
Date: Thu, 4 May 2006 16:10:19 -0700

> It makes sense to add this simple statistic to keep track of received
> multicast packets.
> 
> Signed-off-by: Stephen Hemminger <shemminger@osdl.org>

Applied, thanks Stephen.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-05-06  0:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <20060504143624.324274f6@localhost.localdomain>
     [not found] ` <FFEPKIHJDEDDAAFOFDGFMEJGCBAA.PCDiem@FoxValley.net>
2006-05-04 23:10   ` [PATCH] bridge: keep track of received multicast packets Stephen Hemminger
2006-05-06  0:07     ` David S. Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).