tty: Wait for SAK work before waiting for hangup work
authorPeter Hurley <peter@hurleysoftware.com>
Mon, 11 Mar 2013 20:44:30 +0000 (16:44 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Mar 2013 23:38:58 +0000 (16:38 -0700)
commit977066e7587b1b57023a048c0ba754955ea3e7bc
tree3e27794f5d95f5dc0f9e3095546afd752c23f24f
parentf4cf7a384587c16c59565dd6930dd763f243dba4
tty: Wait for SAK work before waiting for hangup work

SAK work may schedule hangup work (if TTY_SOFT_SAK is defined), thus
SAK work must be flushed before hangup work.

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