mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
f19885fadf
If sep_ioctl() is called from a process that does not own current transaction, it unlocks unheld sep->ioctl_mutex and returns -EACCES leaving sep->sep_mutex acquired. The patch fixes the mutex lock-unlock mismatch. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
sep_dev.h | ||
sep_driver.c | ||
sep_driver_api.h | ||
sep_driver_config.h | ||
sep_driver_hw_defs.h | ||
TODO |