Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 13:30:06 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet6 in6_mcast.c
Message-ID:  <200911191330.nAJDUMpl000737@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bms         2009-11-19 13:30:06 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet6         in6_mcast.c 
  Log:
  SVN rev 199526 on 2009-11-19 13:30:06Z by bms
  
  Adapt r197132 to IPv6 stack:
    Tighten input checking in in6p_join_group():
     * Don't try to use the source address, when its family is unspecified.
     * If we get a join without a source, on an existing inclusive
       mode group, this is an error, as it would change the filter mode.
  
    Fix a problem with the handling of in6_mfilter for new memberships:
     * Do not rely on im6f being NULL; it is explicitly initialized to a
       non-NULL pointer when constructing a membership.
     * Explicitly initialize *im6f to EX mode when the source address
       is unspecified.
  
    This fixes a problem with in_mfilter slot recycling in the join path.
  
  MFC after:      1 day
  
  Revision  Changes    Path
  1.12      +35 -15    src/sys/netinet6/in6_mcast.c



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