Subject: CVS commit: syssrc/sys/net
To: None <source-changes@netbsd.org>
From: Martin Husemann <martin@netbsd.org>
List: source-changes
Date: 08/24/2002 22:00:32
Module Name: syssrc
Committed By: martin
Date: Sat Aug 24 19:00:32 UTC 2002
Modified Files:
syssrc/sys/net: if_bridge.c
Log Message:
Add a function to lookup bridge members by struct ifnet * and use
it at all call sites that have such a pointer readily available.
This avoids unnecessary strcmp()s in critical paths, and removes
some XXX comments.
To generate a diff of this commit:
cvs rdiff -r1.7 -r1.8 syssrc/sys/net/if_bridge.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.