summaryrefslogtreecommitdiffstats
path: root/sys/netinet6
diff options
context:
space:
mode:
authorrodrigc <rodrigc@FreeBSD.org>2014-09-07 20:11:23 +0000
committerrodrigc <rodrigc@FreeBSD.org>2014-09-07 20:11:23 +0000
commit73701b02923b72b81fa364c935209a6afca9c0f3 (patch)
tree5c2ef0cc0d1224ec9491fa45cec6fa0254f7e27c /sys/netinet6
parent7b2b287dbf81eabcee64d51b730ff49a92bdb104 (diff)
downloadFreeBSD-src-73701b02923b72b81fa364c935209a6afca9c0f3.zip
FreeBSD-src-73701b02923b72b81fa364c935209a6afca9c0f3.tar.gz
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)
Diffstat (limited to 'sys/netinet6')
-rw-r--r--sys/netinet6/in6_mcast.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c
index f40c0a8..39594e6 100644
--- a/sys/netinet6/in6_mcast.c
+++ b/sys/netinet6/in6_mcast.c
@@ -1779,8 +1779,6 @@ in6p_lookup_mcast_ifp(const struct inpcb *in6p,
("%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));
OpenPOWER on IntegriCloud