summaryrefslogtreecommitdiffstats
path: root/drivers/isdn
diff options
context:
space:
mode:
authorXiaobing Tu <xiaobing.tu@intel.com>2012-03-16 04:00:26 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 21:12:45 +0200
commitc56a00a165712fd73081f40044b1e64407bb1875 (patch)
treefee2ca034eb2cc52e6a21880ad875e6d05307d57 /drivers/isdn
parenttty/vt: handle bad user buffer in {G,P}IO_CMAP ioctl (diff)
downloadlinux-c56a00a165712fd73081f40044b1e64407bb1875.tar.xz
linux-c56a00a165712fd73081f40044b1e64407bb1875.zip
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>
Diffstat (limited to 'drivers/isdn')
0 files changed, 0 insertions, 0 deletions