]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix wake-up in sysdeps/nptl/fork.c.
authorTorvald Riegel <triegel@redhat.com>
Tue, 13 Jan 2015 00:09:29 +0000 (01:09 +0100)
committerTorvald Riegel <triegel@redhat.com>
Tue, 13 Jan 2015 00:09:29 +0000 (01:09 +0100)
ChangeLog
sysdeps/nptl/fork.c

index e8ca56b40a2b2249cfa5fc698a1ea39f9a6646bc..e67cd0b57430ba718294d06bea1d6d24b1dbd4f8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2015-01-13  Torvald Riegel  <triegel@redhat.com>
+
+       * 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  <joseph@codesourcery.com>
 
        [BZ #17803]
index 5cffd82ced19c78804699ec7701103af701b8196..74482b7a3805232786f5c1c475d39d09b3bdb4a2 100644 (file)
@@ -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;
        }