summaryrefslogtreecommitdiffhomepage
path: root/runsc/fsgofer/fsgofer_test.go
diff options
context:
space:
mode:
authorNicolas Lacasse <nlacasse@google.com>2021-02-19 17:36:44 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-19 17:38:51 -0800
commit93fc09248a2fa8b840d8ce47800414980d74bdb0 (patch)
tree6006fc6b336315a4ae272782b8afb5c1130a9b2b /runsc/fsgofer/fsgofer_test.go
parent7544eeb242d0aba2da054a1663e043feaedb9618 (diff)
Don't hold baseEndpoint.mu while calling EventUpdate().
This removes a three-lock deadlock between fdnotifier.notifier.mu, epoll.EventPoll.listsMu, and baseEndpoint.mu. A lock order comment was added to epoll/epoll.go. Also fix unsafe access of baseEndpoint.connected/receiver. PiperOrigin-RevId: 358515191
Diffstat (limited to 'runsc/fsgofer/fsgofer_test.go')
0 files changed, 0 insertions, 0 deletions