Page MenuHomeFreeBSD

Fix panic in hypervisor code upon device detach event
ClosedPublic

Authored by hselasky on Jul 5 2018, 11:30 AM.

Details

Summary

When mlxenX detaches in from vmbus, it will trigger a panic event, because the "hn_ismyvf()" function access freed memebers of the network interface structure.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

hselasky created this revision.Jul 5 2018, 11:30 AM

Looks good to me. I'll commit it shortly.

This revision is now accepted and ready to land.Jul 17 2018, 7:27 PM
This revision was automatically updated to reflect the committed changes.