From owner-cvs-src-old@FreeBSD.ORG Thu Nov 19 13:30:22 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 703FB1065700 for ; Thu, 19 Nov 2009 13:30:22 +0000 (UTC) (envelope-from bms@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 5F5EC8FC1F for ; Thu, 19 Nov 2009 13:30:22 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id nAJDUMi0000738 for ; Thu, 19 Nov 2009 13:30:22 GMT (envelope-from bms@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id nAJDUMpl000737 for cvs-src-old@freebsd.org; Thu, 19 Nov 2009 13:30:22 GMT (envelope-from bms@repoman.freebsd.org) Message-Id: <200911191330.nAJDUMpl000737@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to bms@repoman.freebsd.org using -f From: Bruce M Simpson Date: Thu, 19 Nov 2009 13:30:06 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/netinet6 in6_mcast.c X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 13:30:22 -0000 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