summaryrefslogtreecommitdiffhomepage
path: root/pkg/urpc/urpc_test.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2020-06-09 11:31:49 -0700
committergVisor bot <gvisor-bot@google.com>2020-06-09 11:33:20 -0700
commit2d3b9d18e79c93dc3186b60de06ec587852c980f (patch)
tree9c798f1b4be5100041886e266f018332b6abcbcb /pkg/urpc/urpc_test.go
parentecff24930cb2dd5b0910da859d6e712f2f1d32c4 (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/urpc/urpc_test.go')
0 files changed, 0 insertions, 0 deletions