I've fought this problem in USB drivers. Ideally you'd also have the detach path /also/ take said lock and drain anyone currently doing anything active (tx, rx, ioctls, net80211 methods, etc) to completion before continuing.
A lot of drivers don't do this very well, or at all. -adrian _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"