projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35d63ed
)
[BRIDGE]: keep track of received multicast packets
author
Stephen Hemminger
<shemminger@osdl.org>
Sat, 6 May 2006 00:07:13 +0000
(17:07 -0700)
committer
David S. Miller
<davem@davemloft.net>
Sat, 6 May 2006 00:07:13 +0000
(17:07 -0700)
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>
net/bridge/br_input.c
patch
|
blob
|
history
diff --git
a/net/bridge/br_input.c
b/net/bridge/br_input.c
index b0b7f55c1edd38f2901cfc450ac638ca6589dd80..bfa4d8c333f7b727946e40c4c33e159d4fdbfe2f 100644
(file)
--- 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);