[Bridge] [PATCH] bridge: keep track of received multicast packets
Stephen Hemminger
shemminger at osdl.org
Thu May 4 16:10:19 PDT 2006
It makes sense to add this simple statistic to keep track of received
multicast packets.
Signed-off-by: Stephen Hemminger <shemminger at 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);
More information about the Bridge
mailing list