summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/fs/lock/lock.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-02-06 16:56:33 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-06 16:58:25 -0800
commit554c405e87285622e2d4019baf2c6a19b47f6007 (patch)
treee158183f320e97b7e06c8044e6f4290bb2eac86a /pkg/sentry/fs/lock/lock.go
parent11ce8ba992aca85d28063d243d59b11d3bee99ba (diff)
Synchronously send packets over pipe link endpoint
Before this change, packets were delivered asynchronously to the remote end of a pipe. This was to avoid a deadlock during link resolution where the stack would attempt to double-lock a mutex (see removed comments in the parent commit for details). As of https://github.com/google/gvisor/commit/4943347137, we do not hold locks while sending link resolution probes so the deadlock will no longer occur. PiperOrigin-RevId: 356066224
Diffstat (limited to 'pkg/sentry/fs/lock/lock.go')
0 files changed, 0 insertions, 0 deletions