kernel-fxtec-pro1x/drivers/staging/sep
Alexey Khoroshilov f19885fadf staging: sep: call to sep_ioctl() may leave driver in unusable state
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>
2011-09-06 16:49:29 -07:00
..
Kconfig Staging: sep: do not select the driver by default 2010-11-29 11:18:08 -08:00
Makefile Staging: sep: Introduce sep driver 2010-11-19 17:20:40 -08:00
sep_dev.h staging: sep: remove unused ioctls 2011-03-07 13:42:34 -08:00
sep_driver.c staging: sep: call to sep_ioctl() may leave driver in unusable state 2011-09-06 16:49:29 -07:00
sep_driver_api.h staging: sep: remove unused ioctls 2011-03-07 13:42:34 -08:00
sep_driver_config.h staging: sep: clean up some checkpatch.pl issues 2011-06-28 13:23:57 -07:00
sep_driver_hw_defs.h Staging: sep: remove code for Moorestown device 2010-12-09 16:37:49 -08:00
TODO staging: sep: remove unused ioctls 2011-03-07 13:42:34 -08:00