Files
linux/drivers
Alan Stern b9094c6a66 USB: XHCI: fix memory leak of URB-private data
commit 48c3375c5f upstream.

This patch (as1640) fixes a memory leak in xhci-hcd.  The urb_priv
data structure isn't always deallocated in the handle_tx_event()
routine for non-control transfers.  The patch adds a kfree() call so
that all paths end up freeing the memory properly.

This patch should be backported to kernels as old as 2.6.36, that
contain the commit 8e51adccd4 "USB: xHCI:
Introduce urb_priv structure"

Signed-off-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Sarah Sharp <sarah.a.sharp@linux.intel.com>
Reported-and-tested-by: Martin Mokrejs <mmokrejs@fold.natur.cuni.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-02-11 08:16:49 -08:00
..
2012-10-31 09:51:37 -07:00
2012-01-25 17:24:54 -08:00
2012-01-25 17:24:56 -08:00
2012-12-03 12:59:15 -08:00
2013-01-27 20:46:29 -08:00
2013-01-17 08:43:53 -08:00
2011-06-14 15:15:25 +09:00
2012-01-06 14:13:48 -08:00
2013-01-27 20:46:29 -08:00
2012-04-27 09:51:06 -07:00
2012-10-02 09:47:27 -07:00