cvs commit: src/sys/net if.c
Bruce M Simpson
bms at FreeBSD.org
Thu Feb 22 00:14:03 UTC 2007
bms 2007-02-22 00:14:02 UTC
FreeBSD src repository
Modified files:
sys/net if.c
Log:
Fix a bug in if_findmulti(), whereby it would not find (and thus delete)
a link-layer multicast group membership.
Such memberships are needed in order to support protocols such as
IS-IS without putting the interface into PROMISC or ALLMULTI modes.
sa_equal() is not OK for comparing sockaddr_dl as it has deeper structure
than a simple byte array, so add sa_dl_equal() and use that instead.
Reviewed by: rwatson
Verified with: /usr/sbin/mtest
Bug found by: Jouke Witteveen
MFC after: 2 weeks
Revision Changes Path
1.266 +22 -3 src/sys/net/if.c
More information about the cvs-src
mailing list