summaryrefslogtreecommitdiffhomepage
path: root/g3doc/style.md
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-02-06 13:45:44 -0800
committergVisor bot <gvisor-bot@google.com>2021-02-06 13:47:37 -0800
commit11ce8ba992aca85d28063d243d59b11d3bee99ba (patch)
tree4188ed26abaab6bc0dc1ff435d75b0afe0c48962 /g3doc/style.md
parentc5afaf2854679fbb7470f9a615d3c0fbb2af0999 (diff)
Use fine grained locks while sending NDP packets
Previously when sending NDP DAD or RS messages, we would hold a shared lock which lead to deadlocks (due to synchronous packet loooping (e.g. pipe and loopback link endpoints)) and lock contention. Writing packets may be an expensive operation which could prevent other goroutines from doing meaningful work if a shared lock is held while writing packets. This change upates the NDP DAD/RS timers to not hold shared locks while sending packets. PiperOrigin-RevId: 356053146
Diffstat (limited to 'g3doc/style.md')
0 files changed, 0 insertions, 0 deletions