[lkml]   [2015]   [Mar]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
Subject[PATCH 0/5] TTY: fix tty_wait_until_sent on 64-bit machines
This series fixes an overflow bug in tty_wait_until_sent, which is
currently broken on 64-bit machines for most TTY drivers (with
serial-core being the notable exception).

The final patch makes the tty_wait_until_sent timeout a maximum one so
that we actually honour the closing-wait timeout.

All but the second (clean-up) and final patch are marked for stable.

These patches are for v4.0 and I suggest Greg takes them all through the
TTY tree.


Johan Hovold (5):
net: irda: fix wait_until_sent poll timeout
TTY: bfin_jtag_comm: remove incorrect wait_until_sent operation
USB: serial: fix infinite wait_until_sent timeout
TTY: fix tty_wait_until_sent on 64-bit machines
TTY: fix tty_wait_until_sent maximum timeout

drivers/tty/bfin_jtag_comm.c | 13 -------------
drivers/tty/tty_ioctl.c | 16 +++++++++++-----
drivers/usb/serial/generic.c | 5 +++--
net/irda/ircomm/ircomm_tty.c | 4 +++-
4 files changed, 17 insertions(+), 21 deletions(-)


 \ /
  Last update: 2015-03-04 11:01    [W:0.681 / U:0.012 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site