The branch main has been updated by glebius: URL: https://cgit.FreeBSD.org/src/commit/?id=6a876e97f702c277ea41ad9c90709a4b079c74a3
commit 6a876e97f702c277ea41ad9c90709a4b079c74a3 Author: Gleb Smirnoff <gleb...@freebsd.org> AuthorDate: 2025-01-18 05:59:15 +0000 Commit: Gleb Smirnoff <gleb...@freebsd.org> CommitDate: 2025-01-18 06:06:42 +0000 krpc/clnt_vc: clear vnet context before kthread_exit() Fixes: b2ff4cb1931c2e1509a5741f6743322699ad1e00 --- sys/rpc/clnt_vc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c index d26e6c294af6..2e890f3b482b 100644 --- a/sys/rpc/clnt_vc.c +++ b/sys/rpc/clnt_vc.c @@ -1300,6 +1300,6 @@ clnt_vc_dotlsupcall(void *data) wakeup(&ct->ct_sslrefno); mtx_unlock(&ct->ct_lock); CLNT_RELEASE(cl); - kthread_exit(); CURVNET_RESTORE(); + kthread_exit(); }