:33:31PM +0400, Vladimir Murzin wrote:
If for whatever reason we fall into fail path in xhci_mem_init()
before bw table gets initialized we may access the uninitialized lists
in xhci_mem_cleanup().
Check for bw table before traversing lists in cleanup routine.
Reported-by: Sergey
Ping! :)
On Tue, Apr 09, 2013 at 10:33:31PM +0400, Vladimir Murzin wrote:
If for whatever reason we fall into fail path in xhci_mem_init()
before bw table gets initialized we may access the uninitialized lists
in xhci_mem_cleanup().
Check for bw table before traversing lists in cleanup
...@gmail.com
Signed-off-by: Vladimir Murzin murzi...@gmail.com
---
This patch is generated across
http://git.kernel.org/cgit/linux/kernel/git/sarah/xhci.git/log/?h=for-usb-linus-queue
Changes since:
v1 - init for cancel_cmd_list and lpm_failed lists
is skipped because Sergio has
they get
initialized.
The same init-fail-cleanup case is applicable to bw tables too.
Fix this by moving list initialization code to the beginning of
xhci_mem_init()
Reported-by: Sergey Dyasly dse...@gmail.com
Tested-by: Sergey Dyasly dse...@gmail.com
Signed-off-by: Vladimir Murzin murzi...@gmail.com
of Sergio's patch, and never met him before :)
What about picking up Sergio's patch and bw table part of this patch
as separate commits?
Best wishes
Vladimir Murzin
Sarah Sharp
On Thu, Apr 04, 2013 at 08:31:26PM +0400, Vladimir Murzin wrote:
Commits
9574323 xHCI: test USB2 software LPM