mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-07 13:14:51 +00:00
ktls_disable_ifnet_help: Set curvnet around sorele().
This is required in kernels with VIMAGE such as GENERIC. MFC after: 1 week Sponsored by: Chelsio Communications
This commit is contained in:
parent
bb651c77f5
commit
846e4a206f
@ -3210,7 +3210,9 @@ ktls_disable_ifnet_help(void *context, int pending __unused)
|
||||
}
|
||||
|
||||
out:
|
||||
CURVNET_SET(so->so_vnet);
|
||||
sorele(so);
|
||||
CURVNET_RESTORE();
|
||||
if (!in_pcbrele_wlocked(inp))
|
||||
INP_WUNLOCK(inp);
|
||||
ktls_free(tls);
|
||||
|
Loading…
Reference in New Issue
Block a user