google / google/gvisor

Don’t return entry from neighborCache.entry or link address from linkaddrcache.GetLinkAddress

Open
#5,151 1 comment 0 reactions 0 assignees View on GitHub
revived type: enhancement
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

**Description**

`neighborCache.entry` and `LinkAddressCache.GetLinkAddress` both take a callback, `onResolve`, that `Route.Resolve` uses to complete route resolution if link resolution is not required. Thus, these methods no longer need to return the entry/link address to the caller.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.