[Bug 294312] Page fault with vmx0 interface (devctl disable / enable)

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 08 Apr 2026 12:58:25 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=294312

--- Comment #1 from Mike Belanger <mibelanger@qnx.com> ---
A simple fix would be to add a NULL check where the crash is occurring.

But perhaps iflib should check the device state in the ioctl handler to ignore
requests when the device is in the DS_ATTACHING state.  (i.e.
device_is_attached(ctx->ifc_dev) == false)
Otherwise any iflib driver has to be prepared to handle any ioctl before it
runs its ifdi_post_attach callback.

-- 
You are receiving this mail because:
You are the assignee for the bug.