diff options
author | Mathias Nyman <[email protected]> | 2018-11-09 17:21:18 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2018-11-09 08:31:08 -0800 |
commit | 1245374e9b8340fc255fd51b2015173a83050d03 (patch) | |
tree | 0964dff2c46a81e815dee36b9437c296462e561f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f068090426ea8d72c408ebd42953a82a88e2282c (diff) |
xhci: handle port status events for removed USB3 hcd
At xhci removal the USB3 hcd (shared_hcd) is removed before the primary
USB2 hcd. Interrupts for port status changes may still occur for USB3
ports after the shared_hcd is freed, causing NULL pointer dereference.
Check if xhci->shared_hcd is still valid before handing USB3 port events
Cc: <[email protected]>
Reported-by: Peter Chen <[email protected]>
Tested-by: Jack Pham <[email protected]>
Signed-off-by: Mathias Nyman <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions