diff options
| author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-01-20 10:46:58 +0100 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-02-06 19:43:04 +0100 |
| commit | fe881381874a2dd2b790ffe5399aaa2b1ed51bc9 (patch) | |
| tree | 4e8c7df4a2ae1fcf879472f406c104b34d34580e /tools/perf/scripts/python/call-graph-from-postgresql.py | |
| parent | b6a23bda233ae5dce88f48108016d545c7e84e01 (diff) | |
tty: Handle problem if line discipline does not have receive_buf
commit 27cfb3a53be46a54ec5e0bd04e51995b74c90343 upstream.
Some tty line disciplines do not have a receive buf callback, so
properly check for that before calling it. If they do not have this
callback, just eat the character quietly, as we can't fail this call.
Reported-by: Jann Horn <jannh@google.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions
