Larry Finger c1db52b9d2 rtl8187: Use usb anchor facilities to manage urbs
When SLUB debugging is enabled in the kernel, and the boot command includes
the option "slub_debug=P", rtl8187 encounters a GPF due to a read-after-free
of a urb.

Following the example of changes in p54usb to fix the same problem, the code
has been modified to use the usb_anchor_urb() method. With this change, the
USB core handles the freeing of urb's.

This patch fixes the problem reported in Kernel Bugzilla #12185
(http://bugzilla.kernel.org/show_bug.cgi?id=12185).

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Tested-by: Hin-Tak Leung <htl10@users.sourceforge.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2008-12-12 14:02:06 -05:00
..
2008-11-29 20:42:28 -08:00
2008-11-30 10:03:36 -08:00
2008-12-01 19:55:25 -08:00
2008-12-02 20:40:04 +01:00
2008-11-30 10:03:37 -08:00
2008-11-19 21:40:23 -08:00
2008-11-30 10:03:37 -08:00
2008-11-17 19:11:26 +01:00