Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 17:16:13 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-virtualization@FreeBSD.org
Subject:   [Bug 209428] if_vtnet(4) panics when doing kldunload if_vtnet
Message-ID:  <bug-209428-27103-9EH75MrcU3@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-209428-27103@https.bugs.freebsd.org/bugzilla/>
References:  <bug-209428-27103@https.bugs.freebsd.org/bugzilla/>

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

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209428

--- Comment #6 from Kristof Provost <kp@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.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-209428-27103-9EH75MrcU3>