Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Feb 2014 01:27:22 +0000 (UTC)
From:      Craig Rodrigues <rodrigc@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r262351 - head/sys/netinet6
Message-ID:  <201402230127.s1N1RMoX052542@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: rodrigc
Date: Sun Feb 23 01:27:22 2014
New Revision: 262351
URL: http://svnweb.freebsd.org/changeset/base/262351

Log:
  Remove KASSERT from in6p_lookup_mcast_ifp().
  
  When the devel/jenkins port, version 1.551 was started,
  the kernel would panic if INVARIANTS was enabled in the kernel config.
  
  Suggested by: bms

Modified:
  head/sys/netinet6/in6_mcast.c

Modified: head/sys/netinet6/in6_mcast.c
==============================================================================
--- head/sys/netinet6/in6_mcast.c	Sun Feb 23 00:46:05 2014	(r262350)
+++ head/sys/netinet6/in6_mcast.c	Sun Feb 23 01:27:22 2014	(r262351)
@@ -1781,8 +1781,6 @@ in6p_lookup_mcast_ifp(const struct inpcb
 	    ("%s: not INP_IPV6 inpcb", __func__));
 	KASSERT(gsin6->sin6_family == AF_INET6,
 	    ("%s: not AF_INET6 group", __func__));
-	KASSERT(IN6_IS_ADDR_MULTICAST(&gsin6->sin6_addr),
-	    ("%s: not multicast", __func__));
 
 	ifp = NULL;
 	memset(&ro6, 0, sizeof(struct route_in6));



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