projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c9c7746
)
[PATCH] USB: disable tasklet if rtl8150 device is removed while active.
author
Greg Kroah-Hartman
<gregkh@suse.de>
Tue, 21 Jun 2005 04:15:16 +0000
(21:15 -0700)
committer
Greg Kroah-Hartman
<gregkh@suse.de>
Fri, 28 Oct 2005 23:47:37 +0000
(16:47 -0700)
This fixes a oops seen in the wild.
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/net/rtl8150.c
patch
|
blob
|
history
diff --git
a/drivers/usb/net/rtl8150.c
b/drivers/usb/net/rtl8150.c
index
c3d4e35
..
787dd35
100644
(file)
--- a/
drivers/usb/net/rtl8150.c
+++ b/
drivers/usb/net/rtl8150.c
@@
-909,6
+909,7
@@
static void rtl8150_disconnect(struct usb_interface *intf)
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);