aboutsummaryrefslogtreecommitdiffstats
path: root/net/unix/garbage.c
diff options
context:
space:
mode:
authorAlexey Khoroshilov <[email protected]>2012-12-21 21:44:16 +0000
committerGreg Kroah-Hartman <[email protected]>2013-01-07 18:28:03 +0000
commite6028db0146cf5a68dbd1508225ea49840997880 (patch)
treeb2eac067e893ad8ba588ae3e9a2625c8a7dec85f /net/unix/garbage.c
parentLinux 3.8-rc2 (diff)
downloadkernel-e6028db0146cf5a68dbd1508225ea49840997880.tar.gz
kernel-e6028db0146cf5a68dbd1508225ea49840997880.zip
mei: fix mismatch in mutex unlock-lock in mei_amthif_read()
Users of mei_amthif_read() expect it leaves dev->device_lock held, while there is a path where mei_amthif_read() unlocks device_lock and returns -ERESTARTSYS. The patch move code locking device_lock back before the return. Found by Linux Driver Verification project (linuxtesting.org). Signed-off-by: Alexey Khoroshilov <[email protected]> Cc: Sedat Dilek <[email protected]> Acked-by: Tomas Winkler <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'net/unix/garbage.c')
0 files changed, 0 insertions, 0 deletions