diff options
| author | Kristof Provost <kp@FreeBSD.org> | 2022-05-07 15:15:34 +0000 |
|---|---|---|
| committer | Kristof Provost <kp@FreeBSD.org> | 2022-05-07 16:17:33 +0000 |
| commit | cbbce42345c51536d7dc63643f47a3cbf87d647e (patch) | |
| tree | 48b2cc1af24865a9bc98f5d052f11d3e10a837a8 /sys | |
| parent | 017e7d0390870061372f8f708dcbff612983f97a (diff) | |
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/net/if_epair.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/net/if_epair.c b/sys/net/if_epair.c index e9b056ef2bd6..21e50b5171aa 100644 --- a/sys/net/if_epair.c +++ b/sys/net/if_epair.c @@ -826,6 +826,9 @@ epair_mod_init(void) epair_tasks.tasks++; } + thread_lock(curthread); + sched_unbind(curthread); + thread_unlock(curthread); #else snprintf(name, sizeof(name), "epair_task"); |
