This is a note to let you know that I've just added the patch titled
USB: EHCI: fix for leaking isochronous data
to the 3.7-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
usb-ehci-fix-for-leaking-isochronous-data.patch
and it can be found in the queue-3.7 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From b09a61cc0bc2a7151f4ab652489e85253d5d0175 Mon Sep 17 00:00:00 2001
From: Alan Stern <[email protected]>
Date: Wed, 30 Jan 2013 16:35:02 -0500
Subject: USB: EHCI: fix for leaking isochronous data
From: Alan Stern <[email protected]>
commit b09a61cc0bc2a7151f4ab652489e85253d5d0175 upstream.
This patch (as1653) fixes a bug in ehci-hcd. Unlike iTD entries, an
siTD entry in the periodic schedule may not complete until the frame
after the one it belongs to. Consequently, when scanning the periodic
schedule it is necessary to start with the frame _preceding_ the one
where the previous scan ended.
Not doing this properly can result in memory leaks and failures to
complete isochronous URBs.
Signed-off-by: Alan Stern <[email protected]>
Reported-and-tested-by: Andy Leiserson <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/usb/host/ehci-sched.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/usb/host/ehci-sched.c
+++ b/drivers/usb/host/ehci-sched.c
@@ -2336,5 +2336,5 @@ restart:
break;
frame = (frame + 1) & fmask;
}
- ehci->next_frame = now_frame;
+ ehci->next_frame = (frame - 1) & fmask;
}
Patches currently in stable-queue which might be from [email protected]
are
queue-3.7/usb-xhci-fix-memory-leak-of-urb-private-data.patch
queue-3.7/usb-ehci-fix-timer-bug-affecting-port-resume.patch
queue-3.7/usb-ehci-fix-bug-in-scheduling-periodic-split-transfers.patch
queue-3.7/usb-ehci-unlink-one-async-qh-at-a-time.patch
queue-3.7/usb-ehci-fix-for-leaking-isochronous-data.patch
queue-3.7/usb-ehci-remove-ass-pss-polling-timeout.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html