Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Apr 2026 12:58:25 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 294312] Page fault with vmx0 interface (devctl disable / enable)
Message-ID:  <bug-294312-227-R2QBMI03cQ@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-294312-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

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.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-294312-227-R2QBMI03cQ>