cvs commit: src/sys/net if.c

Bruce M Simpson bms at FreeBSD.org
Thu Mar 8 13:15:28 UTC 2007


bms         2007-03-08 13:15:28 UTC

  FreeBSD src repository

  Modified files:        (Branch: RELENG_6)
    sys/net              if.c 
  Log:
  MFC rev 1.266:
    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.234.2.18  +22 -3     src/sys/net/if.c


More information about the cvs-all mailing list