diff options
author | Johan Hovold <[email protected]> | 2017-11-03 15:30:55 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <[email protected]> | 2017-11-28 16:00:50 +0100 |
commit | 8bcd4e6a8decac251d55c4377e2e67f052777ce0 (patch) | |
tree | e9ecd5cb20a5a37a2f255d8d51622be7eec2b5de /tools/perf/scripts/python/call-graph-from-sql.py | |
parent | fd00cf81a9a84776ba58e56bd042c726dcf75cf3 (diff) |
serdev: ttyport: fix NULL-deref on hangup
Make sure to use a properly refcounted tty_struct in write_wake up to
avoid dereferencing a NULL-pointer when a port is being hung up.
Fixes: bed35c6dfa6a ("serdev: add a tty port controller driver")
Cc: stable <[email protected]> # 4.11
Signed-off-by: Johan Hovold <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-sql.py')
0 files changed, 0 insertions, 0 deletions