Skip to content

Commit

Permalink
[BRIDGE]: keep track of received multicast packets
Browse files Browse the repository at this point in the history
It makes sense to add this simple statistic to keep track of received
multicast packets.

Signed-off-by: Stephen Hemminger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
Stephen Hemminger authored and davem330 committed May 6, 2006
1 parent 35d63ed commit 1c29fc4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/bridge/br_input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1c29fc4

Please sign in to comment.