View | Details | Raw Unified | Return to bug 257302
Collapse All | Expand All

(-)b/sys/netinet6/in6_mcast.c (-1 / +8 lines)
Lines 372-380 in6_getmulti(struct ifnet *ifp, const struct in6_addr *group, Link Here
372
	IN6_MULTI_LIST_LOCK();
372
	IN6_MULTI_LIST_LOCK();
373
	IF_ADDR_WLOCK(ifp);
373
	IF_ADDR_WLOCK(ifp);
374
	NET_EPOCH_ENTER_ET(et);
374
	NET_EPOCH_ENTER_ET(et);
375
	inm = in6m_lookup_locked(ifp, group);
375
	/* Does ifp support IPv6? */
376
	if (ifp->if_afdata[AF_INET6] == NULL)
377
		error = ENODEV;
378
	else
379
		inm = in6m_lookup_locked(ifp, group);
376
	NET_EPOCH_EXIT_ET(et);
380
	NET_EPOCH_EXIT_ET(et);
377
381
382
	if (error != 0)
383
		goto out_locked;
384
378
	if (inm != NULL) {
385
	if (inm != NULL) {
379
		/*
386
		/*
380
		 * If we already joined this group, just bump the
387
		 * If we already joined this group, just bump the

Return to bug 257302