[Bug 209428] if_vtnet(4) panics when doing kldunload if_vtnet
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Wed May 11 17:16:12 UTC 2016
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209428
--- Comment #6 from Kristof Provost <kp at freebsd.org> ---
(In reply to Roman Bogorodskiy from comment #5)
Yeah, but that's probably risky. I'm not sure the load order is guaranteed, and
I'm also not sure that there's any guarantee that the probe function won't be
executed until both are loaded.
There's a couple other drivers with a similar setup. For example
sys/dev/cxgbe/t4_main.c
They've solved it with a simple counter in their mod_event function. I'd be
inclined to do something similar.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-virtualization
mailing list