* [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
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).