Karsten Wiese
508db8c954
USB: EHCI: Fix isochronous URB leak
...
ehci-hcd uses usb_get_urb() and usb_put_urb() in an unbalanced way causing
isochronous URB's kref.counts incrementing once per usb_submit_urb() call.
The culprit is *usb being set to NULL when usb_put_urb() is called after URB
is given back.
Due to other fixes there is no need for ehci-hcd to deal with usb_get_urb()
nor usb_put_urb() anymore, so patch removes their usages in ehci-hcd.
Patch also makes ehci_to_hcd(ehci)->self.bandwidth_allocated adjust, if a
stream finishes.
Signed-off-by: Karsten Wiese <fzu@wemgehoertderstaat.de>
Cc: David Brownell <david-b@pacbell.net>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2009-03-17 14:01:29 -07:00
..
2009-02-16 14:37:12 +00:00
2008-07-21 15:16:44 -07:00
2009-01-07 09:59:49 -08:00
2008-07-21 15:16:45 -07:00
2007-05-23 20:14:15 -07:00
2009-02-27 14:40:50 -08:00
2009-01-07 09:59:52 -08:00
2008-10-10 13:41:45 +02:00
2009-02-27 14:40:50 -08:00
2008-12-04 01:28:14 -05:00
2009-02-17 16:56:31 -08:00
2009-01-07 09:59:52 -08:00
2008-11-13 14:45:02 -08:00
2008-08-07 09:49:42 -04:00
2009-03-17 14:01:29 -07:00
2009-02-27 14:40:50 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2008-12-22 18:22:50 +00:00
2008-10-17 14:40:52 -07:00
2008-07-25 10:53:29 -07:00
2009-01-07 10:00:09 -08:00
2009-01-07 10:00:09 -08:00
2009-01-07 10:00:09 -08:00
2009-01-27 16:15:38 -08:00
2009-01-27 16:15:38 -08:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2008-10-17 14:41:02 -07:00
2008-08-21 10:26:38 -07:00
2009-01-27 16:15:32 -08:00
2008-10-17 14:41:04 -07:00
2008-08-21 10:26:38 -07:00
2007-10-12 14:54:59 -07:00
2009-01-24 11:41:16 +00:00
2009-02-17 16:56:31 -08:00
2009-01-07 09:59:53 -08:00
2008-08-21 10:26:38 -07:00
2009-01-07 09:59:52 -08:00
2008-08-21 10:26:38 -07:00
2008-11-13 14:45:02 -08:00
2008-11-27 12:38:23 +00:00
2008-08-13 17:32:58 -07:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2008-08-21 10:26:38 -07:00
2009-01-07 09:59:52 -08:00
2008-10-17 14:40:57 -07:00
2009-01-07 09:59:52 -08:00
2009-01-07 09:59:50 -08:00
2009-01-07 09:59:50 -08:00
2006-04-14 11:12:20 -07:00
2009-01-07 09:59:53 -08:00
2008-12-22 18:42:51 +09:00
2008-08-29 09:43:14 +02:00
2008-10-17 14:40:52 -07:00
2008-07-25 10:53:29 -07:00
2008-08-21 10:26:38 -07:00
2007-10-12 14:55:19 -07:00
2009-02-17 16:56:31 -08:00
2008-05-02 10:25:57 -07:00
2008-07-21 15:16:30 -07:00
2008-10-17 14:41:01 -07:00