Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Sep 2009 19:45:55 +0000 (UTC)
From:      Bruce M Simpson <bms@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/netinet in_mcast.c
Message-ID:  <200909121946.n8CJkE5m070789@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
bms         2009-09-12 19:45:55 UTC

  FreeBSD src repository

  Modified files:
    sys/netinet          in_mcast.c 
  Log:
  SVN rev 197132 on 2009-09-12 19:45:55Z by bms
  
  Tighten input checking in inp_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 in_mfilter for new memberships:
   * Do not rely on imf being NULL; it is explicitly initialized to a
     non-NULL pointer when constructing a membership.
   * Explicitly initialize *imf to EX mode when the source address
     is unspecified.
  
  This fixes a problem with in_mfilter slot recycling in the join path.
  
  PR:             138690
  Submitted by:   Stef Walter
  MFC after:      5 days
  
  Revision  Changes    Path
  1.31      +35 -15    src/sys/netinet/in_mcast.c



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