Author: rodrigc
Date: Sun Sep  7 20:11:23 2014
New Revision: 271236
URL: http://svnweb.freebsd.org/changeset/base/271236

Log:
  MFC r262351:
  
      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
  
  Approved by: re (gjb)

Modified:
  stable/10/sys/netinet6/in6_mcast.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/netinet6/in6_mcast.c
==============================================================================
--- stable/10/sys/netinet6/in6_mcast.c  Sun Sep  7 19:33:38 2014        
(r271235)
+++ stable/10/sys/netinet6/in6_mcast.c  Sun Sep  7 20:11:23 2014        
(r271236)
@@ -1779,8 +1779,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));
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to