summaryrefslogtreecommitdiffstats
path: root/drivers/tty/n_tracesink.h
diff options
context:
space:
mode:
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-20 10:46:58 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-01-21 17:41:02 +0100
commit27cfb3a53be46a54ec5e0bd04e51995b74c90343 (patch)
tree04163f2cb58466c7620882f449e0af71ff100bae /drivers/tty/n_tracesink.h
parentbfd8d8fe98b8792f362cd210a7873969f8d2fc04 (diff)
downloadlinux-27cfb3a53be46a54ec5e0bd04e51995b74c90343.tar.bz2
tty: Handle problem if line discipline does not have receive_buf
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 'drivers/tty/n_tracesink.h')
0 files changed, 0 insertions, 0 deletions