commit | f3033aecf2341a4e2669c63ed78a190a1c3e7a3a | [log] [tgz] |
---|---|---|
author | Alexey Khoroshilov <khoroshilov@ispras.ru> | Tue Mar 06 17:08:29 2012 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 19 14:36:24 2012 -0300 |
tree | 922c9e4476283fb1eb346c12bd9b0ee8be556a8a | |
parent | 9bb24a7e49c33c16c4d9d7d3496f46626e573d02 [diff] |
[media] dib9000: implement error handling for DibAcquireLock DibAcquireLock() is implemented as mutex_lock_interruptible() but the driver does not handle unsuccessful locking. As a result it may lead to unlock of an unheld mutex. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>