diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2006-05-06 00:07:13 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2006-05-06 00:07:13 (GMT) |
commit | 1c29fc4989bc2a3838b2837adc12b8aeb0feeede (patch) | |
tree | f278c0d3da836be2cff9b3a8ec577e803d5e522f /net/bridge | |
parent | 35d63edb1c807bc5317e49592260e84637bc432e (diff) | |
download | linux-fsl-qoriq-1c29fc4989bc2a3838b2837adc12b8aeb0feeede.tar.xz |
[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>
Diffstat (limited to 'net/bridge')
-rw-r--r-- | net/bridge/br_input.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/net/bridge/br_input.c b/net/bridge/br_input.c index b0b7f55..bfa4d8c 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); |