diff options
author | Johan Hovold <[email protected]> | 2020-10-25 18:45:51 +0100 |
---|---|---|
committer | Johan Hovold <[email protected]> | 2020-11-04 11:01:19 +0100 |
commit | 49fbb8e37a961396a5b6c82937c70df91de45e9d (patch) | |
tree | f4f50630f5a2ad72979585c9dcc4553bdcadf637 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 37faf50615412947868c49aee62f68233307f4e4 (diff) |
USB: serial: keyspan_pda: fix tx-unthrottle use-after-free
The driver's transmit-unthrottle work was never flushed on disconnect,
something which could lead to the driver port data being freed while the
unthrottle work is still scheduled.
Fix this by cancelling the unthrottle work when shutting down the port.
Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2")
Cc: [email protected]
Acked-by: Sebastian Andrzej Siewior <[email protected]>
Reviewed-by: Greg Kroah-Hartman <[email protected]>
Signed-off-by: Johan Hovold <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions