diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-01-24 08:15:41 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-01-24 08:15:41 +0000 |
commit | 130f575d073ecaa360062585c16a097ca41175f6 (patch) | |
tree | bdb1d4487a876fd61c56348c3595eb0dfd33551d /sys/netinet6/in6_mcast.c | |
parent | 95ad3a2dca53795f4ef429f73923a31135ffb58d (diff) | |
download | src-130f575d073ecaa360062585c16a097ca41175f6.tar.gz src-130f575d073ecaa360062585c16a097ca41175f6.zip |
Notes
Diffstat (limited to 'sys/netinet6/in6_mcast.c')
-rw-r--r-- | sys/netinet6/in6_mcast.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c index 0f90f77ea46d..6d27614273cf 100644 --- a/sys/netinet6/in6_mcast.c +++ b/sys/netinet6/in6_mcast.c @@ -2178,7 +2178,10 @@ in6p_join_group(struct inpcb *inp, struct sockopt *sopt) IN6_MULTI_UNLOCK(); goto out_im6o_free; } - in6m_acquire(inm); + /* + * NOTE: Refcount from in6_joingroup_locked() + * is protecting membership. + */ imo->im6o_membership[idx] = inm; } else { CTR1(KTR_MLD, "%s: merge inm state", __func__); |