summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/sunhv.c
diff options
context:
space:
mode:
authorPeter Hurley2014-09-02 23:39:14 +0200
committerGreg Kroah-Hartman2014-09-09 01:22:42 +0200
commitfba594a848f6f35417a358565086d22c533c19c8 (patch)
treebbab00d9c8d6e0bb52e053dedf873ae4ac5c4482 /drivers/tty/serial/sunhv.c
parentserial: core: Fix x_char race (diff)
downloadkernel-qcow2-linux-fba594a848f6f35417a358565086d22c533c19c8.tar.gz
kernel-qcow2-linux-fba594a848f6f35417a358565086d22c533c19c8.tar.xz
kernel-qcow2-linux-fba594a848f6f35417a358565086d22c533c19c8.zip
serial: core: Remove unsafe x_char optimization
uart_unthrottle() attempts to avoid sending START and the previous x_char if the previous x_char has not yet been sent. However, this optimization could leave the sender in a throttled state; for example, if the sender is throttled and this unthrottle coincides with a manual tcflow(TCION) from user-space, then neither START would be sent. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/sunhv.c')
0 files changed, 0 insertions, 0 deletions