HomeFreeBSD

linux: fix panic on kldunload

Description

linux: fix panic on kldunload

The vnet_deregister_sysuninit() that is called by linker unload sequence also
calls every registered destructor before unregistering it. IMHO, this is
not correct in principle, but for now plug the regression right in the code
that introduced the panic.

Fixes: 607f11055d2d421770963162a4d9a99cdd136152

Details

Provenance
glebiusAuthored on Wed, Dec 10, 7:20 PM
Parents
rG332096ebb638: kboot: Explicitly use host:/proc
Branches
Unknown
Tags
Unknown