diff options
author | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-01-24 08:25:02 +0000 |
---|---|---|
committer | Hans Petter Selasky <hselasky@FreeBSD.org> | 2019-01-24 08:25:02 +0000 |
commit | dea72f062af179ccb8abe3d2e37f4eb9b1c152d4 (patch) | |
tree | 09f57a740e31a030dc0d808f98e45ff75a40d7f1 /sys/netinet6/in6_mcast.c | |
parent | 7a028976478fe28cc889bea4658f14725628432c (diff) | |
download | src-dea72f062af179ccb8abe3d2e37f4eb9b1c152d4.tar.gz src-dea72f062af179ccb8abe3d2e37f4eb9b1c152d4.zip |
Notes
Diffstat (limited to 'sys/netinet6/in6_mcast.c')
-rw-r--r-- | sys/netinet6/in6_mcast.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/netinet6/in6_mcast.c b/sys/netinet6/in6_mcast.c index 6d27614273cf..693345b1c5ee 100644 --- a/sys/netinet6/in6_mcast.c +++ b/sys/netinet6/in6_mcast.c @@ -585,6 +585,14 @@ in6m_release_list_deferred(struct in6_multi_head *inmh) } void +in6m_release_wait(void) +{ + + /* Wait for all jobs to complete. */ + gtaskqueue_drain_all(free_gtask.gt_taskqueue); +} + +void in6m_disconnect(struct in6_multi *inm) { struct ifnet *ifp; |