]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
futex: remove the pointer math from double_unlock_hb, fix
authorIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 09:32:07 +0000 (10:32 +0100)
committerIngo Molnar <mingo@elte.hu>
Fri, 13 Mar 2009 09:32:07 +0000 (10:32 +0100)
commit88f502fedba82eff252b6420e8b8328e4ae25c67
tree5063980d641f077da073ce972028c2b07ccb1bbc
parentf061d35150003b7fd5b133d14d66a74500fdaa60
futex: remove the pointer math from double_unlock_hb, fix

Impact: fix double unlock crash

Thomas Gleixner noticed that the simplified double_unlock_hb()
became ... too unsophisticated: in the hb1 == hb2 case it will
do a double unlock.

Reported-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Darren Hart <dvhltc@us.ibm.com>
LKML-Reference: <20090312221118.11146.68610.stgit@Aeon>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
kernel/futex.c