summaryrefslogtreecommitdiffhomepage
path: root/pkg/sync/race_unsafe.go
diff options
context:
space:
mode:
authorGhanan Gowripalan <ghanan@google.com>2021-01-31 18:46:52 -0800
committergVisor bot <gvisor-bot@google.com>2021-01-31 18:48:26 -0800
commitd930def27a433fc9f49ba094c9e9a667e4522aa7 (patch)
tree51f16b799d1a461250d1ece95fea8578844cef02 /pkg/sync/race_unsafe.go
parentc5e3c1c7bd5b7d1dc389fd93ac0cd56cdb4d9ac9 (diff)
Default to NUD/neighborCache instead of linkAddrCache
This change flips gvisor to use Neighbor unreachability detection by default to populate the neighbor table as defined by RFC 4861 section 7. Although RFC 4861 is targeted at IPv6, the same algorithm is used for link resolution on IPv4 networks using ARP. Integrators may still use the legacy link address cache by setting stack.Options.UseLinkAddrCache to true; stack.Options.UseNeighborCache is now unused and will be removed. A later change will remove linkAddrCache and associated code. Updates #4658. PiperOrigin-RevId: 354850531
Diffstat (limited to 'pkg/sync/race_unsafe.go')
0 files changed, 0 insertions, 0 deletions