summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2019-09-26 11:12:25 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-10-17 13:41:01 -0700
commit78b2e65cb55f369fccbdc8a42083a4b239005b78 (patch)
treefb615da2c7cf0d70e178b3d1c37c2dd379bd4e4d /tools/perf/scripts/python/export-to-postgresql.py
parent3ec2dabc9e44b11cb04ec586f405bbce9b4e36fc (diff)
USB: usblcd: fix I/O after disconnect
commit eb7f5a490c5edfe8126f64bc58b9ba2edef0a425 upstream. Make sure to stop all I/O on disconnect by adding a disconnected flag which is used to prevent new I/O from being started and by stopping all ongoing I/O before returning. This also fixes a potential use-after-free on driver unbind in case the driver data is freed before the completion handler has run. Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Cc: stable <stable@vger.kernel.org> # 7bbe990c989e Signed-off-by: Johan Hovold <johan@kernel.org> Link: https://lore.kernel.org/r/20190926091228.24634-7-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions