Commit 1c29fc4989bc2a3838b2837adc12b8aeb0feeede

Authored by Stephen Hemminger
Committed by David S. Miller
1 parent 35d63edb1c

[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 <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

Showing 1 changed file with 1 additions and 0 deletions Side-by-side Diff

net/bridge/br_input.c
... ... @@ -66,6 +66,7 @@
66 66 }
67 67  
68 68 if (is_multicast_ether_addr(dest)) {
  69 + br->statistics.multicast++;
69 70 br_flood_forward(br, skb, !passedup);
70 71 if (!passedup)
71 72 br_pass_frame_up(br, skb);