aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorJohan Hovold <[email protected]>2017-11-03 14:30:56 +0000
committerGreg Kroah-Hartman <[email protected]>2017-11-28 15:00:50 +0000
commit90dbad8cd6efccbdce109d5ef0724f8434a6cdde (patch)
tree4d4bd460a12938f02c3811714352da6876594f8a /tools/perf/scripts/python/check-perf-trace.py
parentserdev: ttyport: fix NULL-deref on hangup (diff)
downloadkernel-90dbad8cd6efccbdce109d5ef0724f8434a6cdde.tar.gz
kernel-90dbad8cd6efccbdce109d5ef0724f8434a6cdde.zip
serdev: ttyport: fix tty locking in close
Make sure to hold the tty lock as required when calling tty-driver close() (e.g. to avoid racing with hangup()). Note that the serport active flag is currently set under the lock at controller open, but really isn't protected by it. Fixes: cd6484e1830b ("serdev: Introduce new bus for serial attached devices") Signed-off-by: Johan Hovold <[email protected]> Cc: stable <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions