diff options
author | Alan Stern <stern@rowland.harvard.edu> | 2013-01-30 16:35:02 -0500 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2013-02-11 09:04:46 -0800 |
commit | d7da09805d410e24ea7d79990e9a2055e19e267e (patch) | |
tree | 3fa9d1f2883930e5269008d4a9a361063ab05515 /kernel/srcu.c | |
parent | 43f6cfceea3a9f094da2842e7c9a763b1efdd1a4 (diff) |
USB: EHCI: fix for leaking isochronous data
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 <stern@rowland.harvard.edu>
Reported-and-tested-by: Andy Leiserson <andy@leiserson.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/srcu.c')
0 files changed, 0 insertions, 0 deletions