diff options
author | gVisor bot <gvisor-bot@google.com> | 2020-11-24 22:25:59 +0000 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2020-11-24 22:25:59 +0000 |
commit | 4dc3fa9c2e59167489252680cd08a96048ee3c8c (patch) | |
tree | 1d85118f8df852320e35ae57e70e985f86e3e1c1 /pkg/tcpip/stack/neighbor_entry.go | |
parent | 9d0cfd8a08305ceab2bfc4ba4b433fcb2afdc0c7 (diff) | |
parent | f90ab60a8a5ce9663a878c7cabcc4ad66922e265 (diff) |
Merge release-20201109.0-112-gf90ab60a8 (automated)
Diffstat (limited to 'pkg/tcpip/stack/neighbor_entry.go')
-rw-r--r-- | pkg/tcpip/stack/neighbor_entry.go | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkg/tcpip/stack/neighbor_entry.go b/pkg/tcpip/stack/neighbor_entry.go index 493e48031..65fbd0ac3 100644 --- a/pkg/tcpip/stack/neighbor_entry.go +++ b/pkg/tcpip/stack/neighbor_entry.go @@ -347,9 +347,10 @@ func (e *neighborEntry) handlePacketQueuedLocked(localAddr tcpip.Address) { e.setStateLocked(Delay) e.dispatchChangeEventLocked() - case Incomplete, Reachable, Delay, Probe, Static, Failed: + case Incomplete, Reachable, Delay, Probe, Static: // Do nothing - + case Failed: + e.nic.stats.Neighbor.FailedEntryLookups.Increment() default: panic(fmt.Sprintf("Invalid cache entry state: %s", e.neigh.State)) } |