tty_ldisc_hangup
void tty_ldisc_hangup(struct tty_struct *tty, bool reset);
tty_ldisc_hangup(tty, cons_filp != NULL);