From: "Echo.Li" <glli@tecomtech.com>
To: <linux-kernel@vger.kernel.org>
Subject: br_stp_if.c
Date: Mon, 18 Sep 2006 21:47:35 +0800 [thread overview]
Message-ID: <200609181347.k8IDlhSO004336@titan.tecomtech.com> (raw)
Hi.
I read the bridge code of linux kernel. But now I meet a puzzle.
In file net/bridge/br_stp_if.c line 157
Void br_stp_recalculate_bridge_id() {
.
List_for_each_entry(p, &br->port_list, list) {
If (addr==br_mac_zeor ||
Memcmp(p->dev->dev_addr, addr, ETH_ALEN) <0) //why to find the min of
all macs????
Add = p->dev->dev_addr;
}
}
Who can answer my question? Thanks very much!!!!
BR,
Echo
reply other threads:[~2006-09-18 19:09 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200609181347.k8IDlhSO004336@titan.tecomtech.com \
--to=glli@tecomtech.com \
--cc=linux-kernel@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
all inboxes | Powered by JetHome®