From df6b9e7598fb08523726428992c5bdea8e95c925 Mon Sep 17 00:00:00 2001 From: anilkpan <47642449+anilkpan@users.noreply.github.com> Date: Tue, 29 Dec 2020 14:36:12 -0800 Subject: [PATCH] Update portsorch.cpp --- orchagent/portsorch.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/orchagent/portsorch.cpp b/orchagent/portsorch.cpp index 0ed35ecb41..5dd76f70b9 100755 --- a/orchagent/portsorch.cpp +++ b/orchagent/portsorch.cpp @@ -1881,6 +1881,7 @@ bool PortsOrch::initPort(const string &alias, const int index, const set &l /* Add port to port list */ m_portList[alias] = p; + m_port_ref_count[alias] = 0; m_portOidToIndex[id] = index; /* Add port name map to counter table */