diff options
author | rodrigc <rodrigc@FreeBSD.org> | 2014-09-07 20:11:23 +0000 |
---|---|---|
committer | rodrigc <rodrigc@FreeBSD.org> | 2014-09-07 20:11:23 +0000 |
commit | 73701b02923b72b81fa364c935209a6afca9c0f3 (patch) | |
tree | 5c2ef0cc0d1224ec9491fa45cec6fa0254f7e27c | |
parent | 7b2b287dbf81eabcee64d51b730ff49a92bdb104 (diff) | |
download | FreeBSD-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)
-rw-r--r-- | sys/netinet6/in6_mcast.c | 2 |
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)); |