cvs commit: src/sys/netinet in.c

Bruce M Simpson bms at
Thu Mar 29 21:39:25 UTC 2007

bms         2007-03-29 21:39:23 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in.c 
  Fix a bug in IPv4 address configuration exposed by refcounting.
   * Join the IPv4 all-hosts multicast group once only;
     that is, when an IPv4 address is first configured on an interface.
   * Do not join it for subsequent IPv4 addresses as this violates IGMP.
   * Be sure to leave the group when all IPv4 addresses have been removed
     from the interface.
   * Add two DIAGNOSTIC printfs related to the issue.
  Further care and attention is needed in this area; it is suggested that
  netinet's attachment to the ifnet structure be compartmentalized and
  Bug found by:   andre
  MFC after:      1 month
  Revision  Changes    Path
  1.98      +40 -13    src/sys/netinet/in.c

More information about the cvs-src mailing list