Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_mcast.c
Show First 20 Lines • Show All 1,229 Lines • ▼ Show 20 Lines | |||||
} | } | ||||
/* | /* | ||||
* Leave a multicast group; unlocked entry point. | * Leave a multicast group; unlocked entry point. | ||||
*/ | */ | ||||
int | int | ||||
in6_mc_leave(struct in6_multi *inm, /*const*/ struct in6_mfilter *imf) | in6_mc_leave(struct in6_multi *inm, /*const*/ struct in6_mfilter *imf) | ||||
{ | { | ||||
struct ifnet *ifp; | |||||
int error; | int error; | ||||
ifp = inm->in6m_ifp; | |||||
IN6_MULTI_LOCK(); | IN6_MULTI_LOCK(); | ||||
error = in6_mc_leave_locked(inm, imf); | error = in6_mc_leave_locked(inm, imf); | ||||
IN6_MULTI_UNLOCK(); | IN6_MULTI_UNLOCK(); | ||||
return (error); | return (error); | ||||
} | } | ||||
▲ Show 20 Lines • Show All 1,584 Lines • Show Last 20 Lines |