mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
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 08a98731dd)
This commit is contained in:
parent
9085232872
commit
5e44d6e430
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue