diff options
author | Brian Geffon <bgeffon@google.com> | 2018-05-16 13:06:23 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-05-16 13:07:12 -0700 |
commit | f295e26b8abe395eaf1d4bee9a792a79b34d156f (patch) | |
tree | 261d23af963fd77ceabf52975f1cdd6b419e5b54 /pkg/sentry/fs/lock | |
parent | 4b7e4f3d3612dde08a37a040d5be92c37cd0ee57 (diff) |
Release mutex in BidirectionalConnect to avoid deadlock.
When doing a BidirectionalConnect we don't need to continue holding
the ConnectingEndpoint's mutex when creating the NewConnectedEndpoint
as it was held during the Connect. Additionally, we're not holding
the baseEndpoint mutex while Unregistering an event.
PiperOrigin-RevId: 196875557
Change-Id: Ied4ceed89de883121c6cba81bc62aa3a8549b1e9
Diffstat (limited to 'pkg/sentry/fs/lock')
0 files changed, 0 insertions, 0 deletions