diff options
author | Ghanan Gowripalan <ghanan@google.com> | 2021-01-21 16:37:35 -0800 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-21 16:40:06 -0800 |
commit | 8ecff1890277820972c5f5287539a824b22a1d60 (patch) | |
tree | 5c3b3473dfa825feffee79ae1b47eda1a9e22c2b /pkg/tcpip/stack/nud.go | |
parent | 48dfb8db9e784604e9c7ad8e1a36cc862dac1b4d (diff) |
Do not cache remote link address in Route
...unless explicitly requested via ResolveWith.
Remove cancelled channels from pending packets as we can use the link
resolution channel in a FIFO to limit the number of maximum pending
resolutions we should queue packets for.
This change also defers starting the goroutine that handles link
resolution completion to when link resolution succeeds, fails or
gets cancelled due to the max number of pending resolutions being
reached.
Fixes #751.
PiperOrigin-RevId: 353130577
Diffstat (limited to 'pkg/tcpip/stack/nud.go')
0 files changed, 0 insertions, 0 deletions