From: Stephen Hemminger <shemminger@osdl.org>
To: "Paul C. Diem" <PCDiem@foxvalley.net>,
"David S. Miller" <davem@davemloft.net>
Cc: <bridge@lists.osdl.org>, netdev@vger.kernel.org
Subject: [PATCH] bridge: keep track of received multicast packets
Date: Thu, 4 May 2006 16:10:19 -0700 [thread overview]
Message-ID: <20060504161019.17feb2aa@localhost.localdomain> (raw)
In-Reply-To: <FFEPKIHJDEDDAAFOFDGFMEJGCBAA.PCDiem@FoxValley.net>
It makes sense to add this simple statistic to keep track of received
multicast packets.
Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
--- bridge.orig/net/bridge/br_input.c 2006-04-21 14:28:55.000000000 -0700
+++ bridge/net/bridge/br_input.c 2006-05-04 16:07:24.000000000 -0700
@@ -66,6 +66,7 @@
}
if (is_multicast_ether_addr(dest)) {
+ br->statistics.multicast++;
br_flood_forward(br, skb, !passedup);
if (!passedup)
br_pass_frame_up(br, skb);
next parent reply other threads:[~2006-05-04 23:38 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20060504143624.324274f6@localhost.localdomain>
[not found] ` <FFEPKIHJDEDDAAFOFDGFMEJGCBAA.PCDiem@FoxValley.net>
2006-05-04 23:10 ` Stephen Hemminger [this message]
2006-05-06 0:07 ` [PATCH] bridge: keep track of received multicast packets David S. Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060504161019.17feb2aa@localhost.localdomain \
--to=shemminger@osdl.org \
--cc=PCDiem@foxvalley.net \
--cc=bridge@lists.osdl.org \
--cc=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).