From: Larry Finger Date: Wed, 10 Dec 2008 05:34:27 +0000 (-0600) Subject: rtl8187: Use usb anchor facilities to manage urbs X-Git-Tag: v2.6.29-rc1~581^2~203^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c1db52b9d27ee6e15a7136e67e4a21dc916cd07f;p=pandora-kernel.git 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 Tested-by: Hin-Tak Leung Signed-off-by: John W. Linville --- Reading git-diff-tree failed