HomeFreeBSD

Fix regression in r296242 affecting several drivers. For EXT_NET_DRV,

Description

Fix regression in r296242 affecting several drivers. For EXT_NET_DRV,
EXT_MOD_TYPE, EXT_DISPOSABLE types we should first execute the free
callback, then free the mbuf, otherwise we will derefernce memory that
was just freed.

Reported and tested: jhibbits

Details

Provenance
glebiusAuthored on
Parents
rS296291: hyperv/chan: Factor out the vcpu setting
Branches
Unknown
Tags
Unknown