Commits
![Greg Kroah-Hartman](https://secure.gravatar.com/avatar/cbd18395260b6be2575187286a262f9a.jpg?s=96&d=mm)
Greg Kroah-Hartman committed 80250b48803
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>