tom.leiming@gmail.com 5d5440a835 usbnet: don't clear urb->dev in tx_complete
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: stable@kernel.org
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>
2012-03-22 19:32:34 -04:00
..
2012-03-21 10:37:25 -07:00
2012-03-20 11:16:20 -07:00
2012-03-21 10:34:56 -07:00
2012-03-20 11:24:39 -07:00
2012-03-21 10:15:51 -07:00
2012-03-21 10:34:56 -07:00
2012-03-21 21:57:36 -04:00
2012-03-21 10:32:00 -07:00
2012-03-20 11:26:30 -07:00