[PATCH] USB: disable tasklet if rtl8150 device is removed while active. This fixes a oops seen in the wild.
Signed-off-by: Greg Kroah-Hartman <[EMAIL PROTECTED]> --- commit 8da608caa07d5c9745ec86bf7c25ad423352f9a4 tree cc8f60e24846a4fbc5c9dd5afb8fd676a6adc73f parent c9c7746dd333c12f482af2f1e63ea7eafc7cd529 author Greg Kroah-Hartman <[EMAIL PROTECTED]> Mon, 20 Jun 2005 21:15:16 -0700 committer Greg Kroah-Hartman <[EMAIL PROTECTED]> Fri, 28 Oct 2005 16:47:37 -0700 drivers/usb/net/rtl8150.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/drivers/usb/net/rtl8150.c b/drivers/usb/net/rtl8150.c index c3d4e35..787dd35 100644 --- a/drivers/usb/net/rtl8150.c +++ b/drivers/usb/net/rtl8150.c @@ -909,6 +909,7 @@ static void rtl8150_disconnect(struct us usb_set_intfdata(intf, NULL); if (dev) { set_bit(RTL8150_UNPLUG, &dev->flags); + tasklet_disable(&dev->tl); unregister_netdev(dev->netdev); unlink_all_urbs(dev); free_all_urbs(dev); ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel