git: bd3696bdb24a - stable/14 - ip_mroute: Use NET_EPOCH_WAIT() macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 05 Jul 2024 15:14:23 UTC
The branch stable/14 has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=bd3696bdb24ac349acb413a850208aff1ed3da81 commit bd3696bdb24ac349acb413a850208aff1ed3da81 Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-06-24 09:57:14 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2024-07-05 15:11:51 +0000 ip_mroute: Use NET_EPOCH_WAIT() macro This makes it easier to grep the usage. Reviewed by: kp MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D45715 (cherry picked from commit 08a98731ddf4459bcee25074bdbc21d6fa5ce4ca) --- sys/netinet/ip_mroute.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/netinet/ip_mroute.c b/sys/netinet/ip_mroute.c index cda5f160e8fb..f438ec5b45ea 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -766,7 +766,7 @@ X_ip_mrouter_done(void) * Wait for all epoch sections to complete to ensure * V_ip_mrouter = NULL is visible to others. */ - epoch_wait_preempt(net_epoch_preempt); + NET_EPOCH_WAIT(); /* Stop and drain task queue */ taskqueue_block(V_task_queue);