summaryrefslogtreecommitdiff
path: root/include/linux/tty.h
diff options
context:
space:
mode:
authorPeter Hurley <peter@hurleysoftware.com>2013-09-18 20:42:39 -0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-09-25 18:08:34 -0700
commite3bfea23a62dccfd12875a6cc24fa5c77e8a3c07 (patch)
tree004e21ee4cc60fc6a9dd9b57991dd968047fc0f8 /include/linux/tty.h
parent103fcbe2eeb56d6ee693c573eac81e398fa276bd (diff)
tty: Prevent tty_port destruction if tty not released
If the tty driver mistakenly drops the last port reference before the tty has been released, issue a diagnostic and abort the port destruction. This will leak memory and may zombify the port, but might otherwise keep the machine in runnable state. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/tty.h')
0 files changed, 0 insertions, 0 deletions