git: 08a98731ddf4 - main - ip_mroute: Use NET_EPOCH_WAIT() macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 24 Jun 2024 09:59:35 UTC
The branch main has been updated by zlei: URL: https://cgit.FreeBSD.org/src/commit/?id=08a98731ddf4459bcee25074bdbc21d6fa5ce4ca commit 08a98731ddf4459bcee25074bdbc21d6fa5ce4ca Author: Zhenlei Huang <zlei@FreeBSD.org> AuthorDate: 2024-06-24 09:57:14 +0000 Commit: Zhenlei Huang <zlei@FreeBSD.org> CommitDate: 2024-06-24 09:57:14 +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 --- 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 b864a4db5abc..afa199ce0691 100644 --- a/sys/netinet/ip_mroute.c +++ b/sys/netinet/ip_mroute.c @@ -768,7 +768,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);