https://github.com/torvalds/linux
Revision 77945febbe60a69e9dcab7f49d33a1aa1e436973 authored by Alan Cox on 04 May 2010, 19:42:36 UTC, committed by Greg Kroah-Hartman on 13 May 2010, 19:10:56 UTC
Arnd noted:

After the "retry_open:" label, we first get the tty_mutex
and then the BKL. However a the end of tty_open, we jump
back to retry_open with the BKL still held. If we run into
this case, the tty_open function will be left with the BKL
still held.

Signed-off-by: Alan Cox <alan@linux.intel.com>
Acked-by: Arnd Bergmann <arnd@arndb.de>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>

1 parent e6114fa
History
Tip revision: 77945febbe60a69e9dcab7f49d33a1aa1e436973 authored by Alan Cox on 04 May 2010, 19:42:36 UTC
tty: Fix unbalanced BKL handling in error path
Tip revision: 77945fe

back to top