• Greg Kroah-Hartman's avatar
    Revert "tty: don't panic on OOM in tty_set_ldisc()" · a8983d01
    Greg Kroah-Hartman authored
    This reverts commit 5362544b as it is
    reported to cause a reproducable crash.
    
    Fixes: 5362544b ("tty: don't panic on OOM in tty_set_ldisc()")
    Reported-by: default avatarVegard Nossum <vegard.nossum@gmail.com>
    Cc: Dmitry Vyukov <dvyukov@google.com>
    Cc: <syzkaller@googlegroups.com>
    Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
    Cc: Jiri Slaby <jslaby@suse.com>
    Cc: Peter Hurley <peter@hurleysoftware.com>
    Cc: One Thousand Gnomes <gnomes@lxorguk.ukuu.org.uk>
    Cc: Linus Torvalds <torvalds@linux-foundation.org>
    Signed-off-by: Greg Kroah-Hartman gregkh@linuxfoundation.org
    a8983d01
tty_ldisc.c 19.3 KB