Changeset View
Changeset View
Standalone View
Standalone View
sys/netinet6/in6_mcast.c
Show First 20 Lines • Show All 2,024 Lines • ▼ Show 20 Lines | if (ssa->ss.ss_family != AF_UNSPEC) { | ||||
* multiple refs to the in_multi. | * multiple refs to the in_multi. | ||||
* On an existing inclusive membership, this is also | * On an existing inclusive membership, this is also | ||||
* an error; if you want to change filter mode, | * an error; if you want to change filter mode, | ||||
* you must use the userland API setsourcefilter(). | * you must use the userland API setsourcefilter(). | ||||
* XXX We don't reject this for imf in UNDEFINED | * XXX We don't reject this for imf in UNDEFINED | ||||
* state at t1, because allocation of a filter | * state at t1, because allocation of a filter | ||||
* is atomic with allocation of a membership. | * is atomic with allocation of a membership. | ||||
*/ | */ | ||||
error = EINVAL; | error = EADDRINUSE; | ||||
goto out_in6p_locked; | goto out_in6p_locked; | ||||
} | } | ||||
} | } | ||||
/* | /* | ||||
* Begin state merge transaction at socket layer. | * Begin state merge transaction at socket layer. | ||||
*/ | */ | ||||
INP_WLOCK_ASSERT(inp); | INP_WLOCK_ASSERT(inp); | ||||
▲ Show 20 Lines • Show All 862 Lines • Show Last 20 Lines |