Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Mar 2007 21:39:23 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/netinet in.c
Message-ID:  <200703292139.l2TLdNH8045109@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bms         2007-03-29 21:39:23 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in.c 
  Log:
  Fix a bug in IPv4 address configuration exposed by refcounting.
   * Join the IPv4 all-hosts multicast group 224.0.0.1 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
  non-implicit.
  
  Bug found by:   andre
  MFC after:      1 month
  
  Revision  Changes    Path
  1.98      +40 -13    src/sys/netinet/in.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200703292139.l2TLdNH8045109>