diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-03-13 23:16:22 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-03-13 23:16:22 +0000 |
commit | 34d46ab42ec6cd08fddd5c2913514933a91ca931 (patch) | |
tree | ff549ad41671cd25676236e277660853876c45a9 | |
parent | 42991ceedb9219f43fe647fb1177862f9ce6d71e (diff) | |
parent | b0f2c3e7646df603156f1b8e8b3382f33353eb04 (diff) |
Merge release-20200219.0-174-gb0f2c3e (automated)
-rw-r--r-- | pkg/sentry/kernel/semaphore/semaphore.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/semaphore/semaphore.go b/pkg/sentry/kernel/semaphore/semaphore.go index 1000f3287..c00fa1138 100644 --- a/pkg/sentry/kernel/semaphore/semaphore.go +++ b/pkg/sentry/kernel/semaphore/semaphore.go @@ -554,6 +554,7 @@ func (s *sem) wakeWaiters() { for w := s.waiters.Front(); w != nil; { if s.value < w.value { // Still blocked, skip it. + w = w.Next() continue } w.ch <- struct{}{} |