Am Dienstag, 8. November 2005 12:36 schrieb Herbert Xu: > In either cases by the time dev_deactivate terminates, no further calls > to kaweth_start_xmit are possible. All calls made before its termination > will have terminated due to the spin_unlock_wait in dev_deactivate and > any tx_urb submitted will be taken care of by the usb_kill_urb in > kaweth_close.
Ok, I see. So you can guarantee that unregister_netdev() will always call close() ? This bug is a legacy of asynchronous unlinking. The driver was converted to usb_kill_urb() without reconsidering this. If you can make that guarantee, I'll aplly your patches. Regards Oliver ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel