[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1425461947-15888-1-git-send-email-johan@kernel.org>
Date: Wed, 4 Mar 2015 10:39:02 +0100
From: Johan Hovold <johan@...nel.org>
To: Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Jiri Slaby <jslaby@...e.cz>, Samuel Ortiz <samuel@...tiz.org>,
"David S. Miller" <davem@...emloft.net>,
Peter Hurley <peter@...leysoftware.com>,
Alan Cox <alan@...ux.intel.com>, linux-kernel@...r.kernel.org,
linux-usb@...r.kernel.org, linux-serial@...r.kernel.org,
netdev@...r.kernel.org,
ZIV-Asier Llano Palacios <asier.llano@...lobal.com>,
Johan Hovold <johan@...nel.org>
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.
Thanks,
Johan
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(-)
--
2.0.5
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists