HomeFreeBSD

Fix a panic when tearing down a vnet on a VIMAGE-enabled kernel.

Description

Fix a panic when tearing down a vnet on a VIMAGE-enabled kernel.
There was a race that bridge_ifdetach() could be called via
ifnet_departure event handler after vnet_bridge_uninit().

PR: 195859
Reported by: Danilo Egea Gondolfo

Details

Provenance
hrsAuthored on
Parents
rS278765: Move the lock destruction/creation to earlier in the process - if
Branches
Unknown
Tags
Unknown

Event Timeline