aboutsummaryrefslogtreecommitdiff
path: root/sys/netinet6/in6_mcast.c
diff options
context:
space:
mode:
authorHans Petter Selasky <hselasky@FreeBSD.org>2019-01-24 08:25:02 +0000
committerHans Petter Selasky <hselasky@FreeBSD.org>2019-01-24 08:25:02 +0000
commitdea72f062af179ccb8abe3d2e37f4eb9b1c152d4 (patch)
tree09f57a740e31a030dc0d808f98e45ff75a40d7f1 /sys/netinet6/in6_mcast.c
parent7a028976478fe28cc889bea4658f14725628432c (diff)
downloadsrc-dea72f062af179ccb8abe3d2e37f4eb9b1c152d4.tar.gz
src-dea72f062af179ccb8abe3d2e37f4eb9b1c152d4.zip
Notes
Diffstat (limited to 'sys/netinet6/in6_mcast.c')
-rw-r--r--sys/netinet6/in6_mcast.c8
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;