kldunload if_sk -> LOR & panic
Doug White
dwhite at gumbysoft.com
Mon Jul 19 10:13:07 PDT 2004
On Sun, 18 Jul 2004, Bjoern A. Zeeb wrote:
> > At the point where it's actually detaching, once it's detached the methods
> > that access its softc, it should drop its softc lock before calling the
> > network-level detach routines.
>
> I think this is handled by dwhite's patch so I should be safe now.
> Perhaps someone could work towards committing a cleaned up version of
> this patch ?
The LOR is the harmless part. The panic is caused by
device_delete_child() recursing from skc to sk, and sk_detach() calls
device_delete_child() in itself again after freeing its structures (or
something like that). My patch should fix this, if not then I have it in
my working sources.
--
Doug White | FreeBSD: The Power to Serve
dwhite at gumbysoft.com | www.FreeBSD.org
More information about the freebsd-current
mailing list