diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-01-28 03:23:43 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-01-28 03:23:43 +0000 |
commit | d34fe8d385b0a28df5c7e6ccd8bb74c10c0c3dac (patch) | |
tree | 6fb881501a4e0d480c2eb0295f32fce8b9b2cd6b /pkg/tcpip/stack/nic.go | |
parent | 2ac888c9499374c679a4cdeb408aa60619e16be1 (diff) | |
parent | b85b23e50d1c264ff4821e182ad89a8ea3d0e0c5 (diff) |
Merge release-20210125.0-11-gb85b23e50 (automated)
Diffstat (limited to 'pkg/tcpip/stack/nic.go')
-rw-r--r-- | pkg/tcpip/stack/nic.go | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkg/tcpip/stack/nic.go b/pkg/tcpip/stack/nic.go index 1bbfe6213..f59416fd3 100644 --- a/pkg/tcpip/stack/nic.go +++ b/pkg/tcpip/stack/nic.go @@ -561,6 +561,12 @@ func (n *NIC) removeAddress(addr tcpip.Address) *tcpip.Error { return tcpip.ErrBadLocalAddress } +func (n *NIC) confirmReachable(addr tcpip.Address) { + if n := n.neigh; n != nil { + n.handleUpperLevelConfirmation(addr) + } +} + func (n *NIC) getNeighborLinkAddress(addr, localAddr tcpip.Address, linkRes LinkAddressResolver, onResolve func(LinkResolutionResult)) (tcpip.LinkAddress, <-chan struct{}, *tcpip.Error) { if n.neigh != nil { entry, ch, err := n.neigh.entry(addr, localAddr, linkRes, onResolve) |