aboutsummaryrefslogtreecommitdiff
path: root/net/unix
diff options
context:
space:
mode:
authorAlan Stern <[email protected]>2013-01-17 10:32:16 -0500
committerSarah Sharp <[email protected]>2013-01-24 09:53:38 -0800
commit48c3375c5f69b1c2ef3d1051a0009cb9bce0ce24 (patch)
tree3e35219eabc2ff92fb2b29b3f5457c1daf03d39f /net/unix
parentba7b5c22d33136a5612ca5ef8d31564dcc501126 (diff)
USB: XHCI: fix memory leak of URB-private data
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 8e51adccd4c4b9ffcd509d7f2afce0a906139f75 "USB: xHCI: Introduce urb_priv structure" Signed-off-by: Alan Stern <[email protected]> Signed-off-by: Sarah Sharp <[email protected]> Reported-and-tested-by: Martin Mokrejs <[email protected]> CC: <[email protected]>
Diffstat (limited to 'net/unix')
0 files changed, 0 insertions, 0 deletions