Home Home > GIT Browse
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavidlohr Bueso <dbueso@suse.de>2014-09-18 15:09:38 +0200
committerDavidlohr Bueso <dbueso@suse.de>2014-09-18 15:09:38 +0200
commit53fc8b08f6b4cf4d84abfd134cae2abb7aa9bd4d (patch)
tree4e539c73b1a890b4f5c242ecbeed709f4ce8430e
parenta5d93b07ccd9868bc553513e7c6bb4f2f3c297d5 (diff)
futex: Unlock hb->lock in futex_wait_requeue_pi() error pathrpm-3.0.101-0.40
-rw-r--r--kernel/futex.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/kernel/futex.c b/kernel/futex.c
index c612b658397f..75ef53816418 100644
--- a/kernel/futex.c
+++ b/kernel/futex.c
@@ -2508,6 +2508,7 @@ static int futex_wait_requeue_pi(u32 __user *uaddr, unsigned int flags,
* shared futexes. We need to compare the keys:
*/
if (match_futex(&q.key, &key2)) {
+ queue_unlock(hb);
ret = -EINVAL;
goto out_put_keys;
}