dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/tty
Alan Cox 8f6576ad47 tty: fix ldisc lock inversion trace
This is caused by tty_release using tty_lock_pair to lock both sides of
the pty/tty pair, and then tty_ldisc_release dropping and relocking one
side only.  We can drop both fine, so drop both to avoid any lock
ordering concerns.

Rework the release path to fix the new locking model.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2012-05-29 10:42:13 -07:00
..
hvc tty: hvc_xen: NULL dereference on allocation failure 2012-05-15 08:48:45 -07:00
ipwireless TTY: ipwireless, use tty from tty_port 2012-04-09 11:30:39 -07:00
serial arm-soc: clock driver changes 2012-05-26 12:42:29 -07:00
vt Merge branch 'x86-platform-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip 2012-05-23 11:16:40 -07:00
Kconfig
Makefile
amiserial.c tty/amiserial: Add missing argument for tty_unlock() 2012-05-07 16:46:53 -07:00
bfin_jtag_comm.c TTY: bfin_jtag_comm, use tty from tty_port 2012-04-09 11:28:18 -07:00
cyclades.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
ehv_bytechan.c
isicom.c Documentation: remove references to /etc/modprobe.conf 2012-03-30 16:03:15 -07:00
moxa.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
moxa.h
mxser.c tty: mxser: local variables should not be exposed globally 2012-05-04 16:42:14 -07:00
mxser.h
n_gsm.c
n_hdlc.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
n_r3964.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
n_tracerouter.c
n_tracesink.c
n_tracesink.h
n_tty.c TTY: n_tty, do not dereference user buffer 2012-04-29 22:13:54 -04:00
nozomi.c
pty.c pty: Fix lock inversion 2012-05-29 10:42:13 -07:00
rocket.c
rocket.h
rocket_int.h
synclink.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
synclink_gt.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
synclinkmp.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
sysrq.c sysrq: use SEND_SIG_FORCED instead of force_sig() 2012-04-05 15:25:50 -07:00
tty_audit.c
tty_buffer.c tty: hold lock across tty buffer finding and buffer filling 2012-04-09 12:12:45 -07:00
tty_io.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
tty_ioctl.c Remove all #inclusions of asm/system.h 2012-03-28 18:30:03 +01:00
tty_ldisc.c tty: fix ldisc lock inversion trace 2012-05-29 10:42:13 -07:00
tty_mutex.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00
tty_port.c tty_lock: Localise the lock 2012-05-04 16:58:47 -07:00