aboutsummaryrefslogtreecommitdiff
path: root/lib/string_helpers.c
diff options
context:
space:
mode:
authorDarren Hart <[email protected]>2009-10-07 11:46:54 -0700
committerThomas Gleixner <[email protected]>2009-10-07 21:22:03 +0200
commitda085681014fb43d67d9bf6d14bc068e9254bd49 (patch)
treea044706690151ad641ce8beee4d798248b962230 /lib/string_helpers.c
parentf8d1e548931cfa5ea9a082e020c2a47d27e5d793 (diff)
futex: fix requeue_pi key imbalance
If futex_wait_requeue_pi() wakes prior to requeue, we drop the reference to the source futex_key twice, once in handle_early_requeue_pi_wakeup() and once on our way out. Remove the drop from the handle_early_requeue_pi_wakeup() and keep the get/drops together in futex_wait_requeue_pi(). Reported-by: Helge Bahmann <[email protected]> Signed-off-by: Darren Hart <[email protected]> Cc: Helge Bahmann <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Dinakar Guniguntala <[email protected]> Cc: John Stultz <[email protected]> Cc: stable-2.6.31 <[email protected]> LKML-Reference: <[email protected]> Signed-off-by: Thomas Gleixner <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions