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
File Mode Size
88pm860x-core.c -rw-r--r-- 17.3 KB
88pm860x-i2c.c -rw-r--r-- 5.4 KB
Kconfig -rw-r--r-- 12.7 KB
Makefile -rw-r--r-- 2.1 KB
ab3100-core.c -rw-r--r-- 21.7 KB
ab3100-otp.c -rw-r--r-- 7.0 KB
ab4500-core.c -rw-r--r-- 4.9 KB
adp5520.c -rw-r--r-- 8.5 KB
asic3.c -rw-r--r-- 23.7 KB
da903x.c -rw-r--r-- 13.2 KB
dm355evm_msp.c -rw-r--r-- 10.8 KB
ezx-pcap.c -rw-r--r-- 12.9 KB
htc-egpio.c -rw-r--r-- 10.8 KB
htc-i2cpld.c -rw-r--r-- 18.0 KB
htc-pasic3.c -rw-r--r-- 5.4 KB
lpc_sch.c -rw-r--r-- 3.5 KB
max8925-core.c -rw-r--r-- 16.4 KB
max8925-i2c.c -rw-r--r-- 4.8 KB
mc13783-core.c -rw-r--r-- 17.8 KB
mcp-core.c -rw-r--r-- 5.9 KB
mcp-sa11x0.c -rw-r--r-- 5.7 KB
menelaus.c -rw-r--r-- 29.8 KB
mfd-core.c -rw-r--r-- 2.8 KB
pcf50633-adc.c -rw-r--r-- 6.4 KB
pcf50633-core.c -rw-r--r-- 16.3 KB
pcf50633-gpio.c -rw-r--r-- 3.3 KB
sh_mobile_sdhi.c -rw-r--r-- 3.7 KB
sm501.c -rw-r--r-- 40.6 KB
t7l66xb.c -rw-r--r-- 11.2 KB
tc6387xb.c -rw-r--r-- 5.7 KB
tc6393xb.c -rw-r--r-- 22.2 KB
timberdale.c -rw-r--r-- 18.4 KB
timberdale.h -rw-r--r-- 3.1 KB
tmio_core.c -rw-r--r-- 1.4 KB
tps65010.c -rw-r--r-- 28.3 KB
twl-core.c -rw-r--r-- 28.3 KB
twl4030-codec.c -rw-r--r-- 6.7 KB
twl4030-irq.c -rw-r--r-- 21.9 KB
twl4030-power.c -rw-r--r-- 13.2 KB
twl6030-irq.c -rw-r--r-- 8.4 KB
ucb1400_core.c -rw-r--r-- 3.5 KB
ucb1x00-assabet.c -rw-r--r-- 2.1 KB
ucb1x00-core.c -rw-r--r-- 18.6 KB
ucb1x00-ts.c -rw-r--r-- 10.4 KB
wm831x-core.c -rw-r--r-- 35.3 KB
wm831x-irq.c -rw-r--r-- 11.8 KB
wm831x-otp.c -rw-r--r-- 1.8 KB
wm8350-core.c -rw-r--r-- 17.9 KB
wm8350-gpio.c -rw-r--r-- 6.1 KB
wm8350-i2c.c -rw-r--r-- 2.9 KB
wm8350-irq.c -rw-r--r-- 14.0 KB
wm8350-regmap.c -rw-r--r-- 123.8 KB
wm8400-core.c -rw-r--r-- 12.8 KB
wm8994-core.c -rw-r--r-- 12.0 KB

back to top