From: Stephen Hemminger Date: Sat, 6 May 2006 00:07:13 +0000 (-0700) Subject: [BRIDGE]: keep track of received multicast packets X-Git-Tag: v2.6.17-rc4~30 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=1c29fc4989bc2a3838b2837adc12b8aeb0feeede;p=linux-2.6-omap-h63xx.git [BRIDGE]: keep track of received multicast packets It makes sense to add this simple statistic to keep track of received multicast packets. Signed-off-by: Stephen Hemminger Signed-off-by: David S. Miller --- diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index b0b7f55c1ed..bfa4d8c333f 100644 --- a/net/bridge/br_input.c +++ b/net/bridge/br_input.c @@ -66,6 +66,7 @@ int br_handle_frame_finish(struct sk_buff *skb) } if (is_multicast_ether_addr(dest)) { + br->statistics.multicast++; br_flood_forward(br, skb, !passedup); if (!passedup) br_pass_frame_up(br, skb);