From: Torvald Riegel Date: Tue, 13 Jan 2015 00:09:29 +0000 (+0100) Subject: Fix wake-up in sysdeps/nptl/fork.c. X-Git-Tag: glibc-2.21~56 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c60ec0e016f9e2444c7bc2703fc6b671a26f0f5e;p=thirdparty%2Fglibc.git Fix wake-up in sysdeps/nptl/fork.c. --- diff --git a/ChangeLog b/ChangeLog index e8ca56b40a2..e67cd0b5743 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2015-01-13 Torvald Riegel + + * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex + variable to lll_futex_wake call, not the value itself. + 2015-01-12 Joseph Myers [BZ #17803] diff --git a/sysdeps/nptl/fork.c b/sysdeps/nptl/fork.c index 5cffd82ced1..74482b7a380 100644 --- a/sysdeps/nptl/fork.c +++ b/sysdeps/nptl/fork.c @@ -219,7 +219,7 @@ __libc_fork (void) if (atomic_decrement_and_test (&allp->handler->refcntr) && allp->handler->need_signal) - lll_futex_wake (allp->handler->refcntr, 1, LLL_PRIVATE); + lll_futex_wake (&allp->handler->refcntr, 1, LLL_PRIVATE); allp = allp->next; }