Files
tom.leiming@gmail.com d6dbbeccac usbnet: don't clear urb->dev in tx_complete
commit 5d5440a835 upstream.

URB unlinking is always racing with its completion and tx_complete
may be called before or during running usb_unlink_urb, so tx_complete
must not clear urb->dev since it will be used in unlink path,
otherwise invalid memory accesses or usb device leak may be caused
inside usb_unlink_urb.

Cc: Alan Stern <stern@rowland.harvard.edu>
Cc: Oliver Neukum <oliver@neukum.org>
Signed-off-by: Ming Lei <tom.leiming@gmail.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-04-02 09:27:17 -07:00
..
2012-03-19 08:57:53 -07:00
2010-09-13 20:02:53 -07:00
2011-07-08 09:07:59 -07:00
2012-02-29 16:33:41 -08:00
2011-03-31 11:26:23 -03:00
2009-05-01 15:27:02 -07:00