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

Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]>

--- 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);
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to