diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2020-06-09 11:31:49 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-06-09 11:33:20 -0700 |
commit | 2d3b9d18e79c93dc3186b60de06ec587852c980f (patch) | |
tree | 9c798f1b4be5100041886e266f018332b6abcbcb /pkg/abi/linux/ipc.go | |
parent | ecff24930cb2dd5b0910da859d6e712f2f1d32c4 (diff) |
Handle removed NIC in NDP timer for packet tx
NDP packets are sent periodically from NDP timers. These timers do not
hold the NIC lock when sending packets as the packet write operation
may take some time. While the lock is not held, the NIC may be removed
by some other goroutine. This change handles that scenario gracefully.
Test: stack_test.TestRemoveNICWhileHandlingRSTimer
PiperOrigin-RevId: 315524143
Diffstat (limited to 'pkg/abi/linux/ipc.go')
0 files changed, 0 insertions, 0 deletions