forked from luck/tmp_suning_uos_patched
66cb54bd24
If is_main_vif(ar, vif) reports that we have to fall back to software encryption, we goto err_softw; before locking ar->mutex. As a result, we have unprotected call to carl9170_set_operating_mode and unmatched mutex_unlock. The patch fix the issue by adding mutex_lock before goto. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Cc: <stable@kernel.org> Acked-By: Christian Lamparter <chunkeey@googlemail.com> Signed-off-by: John W. Linville <linville@tuxdriver.com> |
||
---|---|---|
.. | ||
carl9170.h | ||
cmd.c | ||
cmd.h | ||
debug.c | ||
debug.h | ||
eeprom.h | ||
fw.c | ||
fwcmd.h | ||
fwdesc.h | ||
hw.h | ||
Kconfig | ||
led.c | ||
mac.c | ||
main.c | ||
Makefile | ||
phy.c | ||
phy.h | ||
rx.c | ||
tx.c | ||
usb.c | ||
version.h | ||
wlan.h |