diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-02-06 16:56:33 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-02-06 16:58:25 -0800 |
commit | 554c405e87285622e2d4019baf2c6a19b47f6007 (patch) | |
tree | e158183f320e97b7e06c8044e6f4290bb2eac86a /pkg/tcpip/stack/stack_test.go | |
parent | 11ce8ba992aca85d28063d243d59b11d3bee99ba (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/tcpip/stack/stack_test.go')
0 files changed, 0 insertions, 0 deletions