android_kernel_google_msm/drivers/tty
Xiaobing Tu 7a899626b6 tty: hold lock across tty buffer finding and buffer filling
tty_buffer_request_room is well protected, but while after it returns,
 it releases the port->lock. tty->buf.tail might be modified
by either irq handler or other threads. The patch adds more protection
by holding the lock across tty buffer finding and buffer filling.

Signed-off-by: Alek Du <alek.du@intel.com>
Signed-off-by: Xiaobing Tu <xiaobing.tu@intel.com>
Cc: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Change-Id: I7561321a1e78c9730232f98085e01fc1749a48f5
CRs-Fixed: 387308
Signed-off-by: Vamsi Krishna <vskrishn@codeaurora.org>
2013-02-27 18:21:24 -08:00
..
hvc tty: hvc_dcc: Remove redundant license clause 2013-02-25 11:32:51 -08:00
ipwireless
serial msm_serial_hs_lite: Unconditionally control UART AHB clock 2013-02-27 18:19:49 -08:00
vt
amiserial.c
bfin_jtag_comm.c
cyclades.c
ehv_bytechan.c
isicom.c
Kconfig n_smux: smux_ctl: Userspace character device interface for SMUX 2013-02-25 11:32:36 -08:00
Makefile n_smux: smux_ctl: Userspace character device interface for SMUX 2013-02-25 11:32:36 -08:00
moxa.c
moxa.h
mxser.c
mxser.h
n_gsm.c
n_hdlc.c
n_r3964.c
n_smux.c tty: n_smux: Add support for ldisc removal during SSR 2013-02-27 18:20:01 -08:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c
nozomi.c
pty.c
rocket.c
rocket.h
rocket_int.h
smux_ctl.c tty: smux_ctl: Add support for poll method. 2013-02-27 18:19:22 -08:00
smux_loopback.c tty: n_smux: Add support for broadcast logical channel ID 2013-02-27 18:11:27 -08:00
smux_loopback.h tty: n_smux: Add SMUX TTY Line Discipline Driver 2013-02-25 11:32:35 -08:00
smux_private.h tty: n_smux: Add retry queue size flow control 2013-02-27 18:14:30 -08:00
smux_test.c tty: n_smux: Fix workqueue flush deadlock and local mode reset 2013-02-27 18:15:17 -08:00
synclink.c
synclink_gt.c
synclinkmp.c
sysrq.c
tty_audit.c
tty_buffer.c tty: hold lock across tty buffer finding and buffer filling 2013-02-27 18:21:24 -08:00
tty_io.c
tty_ioctl.c
tty_ldisc.c
tty_mutex.c
tty_port.c