]> git.baikalelectronics.ru Git - kernel.git/commit
tty: Add diagnostic for halted line discipline
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:21 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:32:46 +0000 (16:32 -0700)
commitce8a0ed0666efc1365dea2233af591e1049e84c7
treec96d6a137611e9d976a4d391a48c94f5267db7ff
parent374596119c8c39a644d75465f81ed8385e6c9aea
tty: Add diagnostic for halted line discipline

Flip buffer work must not be scheduled by the line discipline
after the line discipline has been halted; issue warning.

Note: drivers can still schedule flip buffer work.

Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/n_tty.c
drivers/tty/tty_ldisc.c
include/linux/tty.h