[Bug 278392] virtio: device_detach crashes the system

From: <bugzilla-noreply_at_freebsd.org>
Date: Wed, 30 Oct 2024 15:54:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=278392

Mark Johnston <markj@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|New                         |Open
                 CC|                            |markj@FreeBSD.org

--- Comment #1 from Mark Johnston <markj@FreeBSD.org> ---
I think this was perhaps fixed by commit 9da9560c4dd35.

In particular, I can't reproduce the problem on main:

root@freebsd:~ # devctl detach vtnet0
Oct 30 15:51:13 freebsd dhclient[322]: receive_packet failed on vtnet0: Device
not configured
Oct 30 15:51:13 freebsd dhclient[322]: ioctl(SIOCGIFFLAGS) on vtnet0: Operation
not permitted
Oct 30 15:51:13 freebsd dhclient[322]: Interface vtnet0 no longer appears
valid.
Oct 30 15:51:13 freebsd dhclient[322]: No live interfaces to poll on - exiting.
Oct 30 15:51:13 freebsd dhclient[322]: exiting.
Oct 30 15:51:13 freebsd dhclient[322]: connection closed
Oct 30 15:51:13 freebsd dhclient[322]: exiting.
vtnet0: detached
root@freebsd:~ # devctl detach virtio_pci2
virtio_pci2: detached
root@freebsd:~ #

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