From owner-svn-src-stable@FreeBSD.ORG Mon Oct 4 07:00:47 2010 Return-Path: Delivered-To: svn-src-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2BC81065672; Mon, 4 Oct 2010 07:00:47 +0000 (UTC) (envelope-from bz@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 91F638FC14; Mon, 4 Oct 2010 07:00:47 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id o9470l4t003542; Mon, 4 Oct 2010 07:00:47 GMT (envelope-from bz@svn.freebsd.org) Received: (from bz@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id o9470le8003540; Mon, 4 Oct 2010 07:00:47 GMT (envelope-from bz@svn.freebsd.org) Message-Id: <201010040700.o9470le8003540@svn.freebsd.org> From: "Bjoern A. Zeeb" Date: Mon, 4 Oct 2010 07:00:47 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org X-SVN-Group: stable-8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r213400 - stable/8/sys/netinet X-BeenThere: svn-src-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for all the -stable branches of the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 07:00:47 -0000 Author: bz Date: Mon Oct 4 07:00:47 2010 New Revision: 213400 URL: http://svn.freebsd.org/changeset/base/213400 Log: MFC r213325: Proper bracketing. Submitted by: SunMinghao (sunminghao hotmail.com) PR: kern/151100 Modified: stable/8/sys/netinet/igmp.c Directory Properties: stable/8/sys/ (props changed) stable/8/sys/amd64/include/xen/ (props changed) stable/8/sys/cddl/contrib/opensolaris/ (props changed) stable/8/sys/contrib/dev/acpica/ (props changed) stable/8/sys/contrib/pf/ (props changed) stable/8/sys/dev/xen/xenpci/ (props changed) Modified: stable/8/sys/netinet/igmp.c ============================================================================== --- stable/8/sys/netinet/igmp.c Mon Oct 4 06:49:12 2010 (r213399) +++ stable/8/sys/netinet/igmp.c Mon Oct 4 07:00:47 2010 (r213400) @@ -1219,8 +1219,8 @@ igmp_input_v1_report(struct ifnet *ifp, if (ifp->if_flags & IFF_LOOPBACK) return (0); - if (!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr) || - !in_hosteq(igmp->igmp_group, ip->ip_dst))) { + if (!IN_MULTICAST(ntohl(igmp->igmp_group.s_addr)) || + !in_hosteq(igmp->igmp_group, ip->ip_dst)) { IGMPSTAT_INC(igps_rcv_badreports); return (EINVAL); }