summaryrefslogtreecommitdiffhomepage
path: root/pkg/tcpip/stack/linkaddrcache.go
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2021-02-06 17:54:29 +0000
committergVisor bot <gvisor-bot@google.com>2021-02-06 17:54:29 +0000
commit89218937bf477f73c44db44b1d1f5bd78af13f4d (patch)
tree0c69c9272c74187738a19eb90249cc40ee33ea2f /pkg/tcpip/stack/linkaddrcache.go
parent8b23fc3384af36b5501a39b9af15eb85e617d628 (diff)
parent9530f624e971183a0e72fe5123f542e0a4e1b329 (diff)
Merge release-20210125.0-92-g9530f624e (automated)
Diffstat (limited to 'pkg/tcpip/stack/linkaddrcache.go')
-rw-r--r--pkg/tcpip/stack/linkaddrcache.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/linkaddrcache.go b/pkg/tcpip/stack/linkaddrcache.go
index 5b6b58b1d..9ec04dd50 100644
--- a/pkg/tcpip/stack/linkaddrcache.go
+++ b/pkg/tcpip/stack/linkaddrcache.go
@@ -30,7 +30,7 @@ const linkAddrCacheSize = 512 // max cache entries
//
// This struct is safe for concurrent use.
type linkAddrCache struct {
- nic *NIC
+ nic *nic
linkRes LinkAddressResolver
@@ -280,7 +280,7 @@ func (c *linkAddrCache) checkLinkRequest(now time.Time, k tcpip.Address, attempt
return true
}
-func (c *linkAddrCache) init(nic *NIC, ageLimit, resolutionTimeout time.Duration, resolutionAttempts int, linkRes LinkAddressResolver) {
+func (c *linkAddrCache) init(nic *nic, ageLimit, resolutionTimeout time.Duration, resolutionAttempts int, linkRes LinkAddressResolver) {
*c = linkAddrCache{
nic: nic,
linkRes: linkRes,