Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 Oct 2010 07:00:47 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-8@freebsd.org
Subject:   svn commit: r213400 - stable/8/sys/netinet
Message-ID:  <201010040700.o9470le8003540@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);
 	}



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