Skip to content

Commit

Permalink
Arp proto - do not check for delete flag on state.
Browse files Browse the repository at this point in the history
The check added in a recent fix wouldnt work in case of VRF delete
and is removed here. Check isnt required.

Change-Id: Idc0971bb2089be0e26b216e0192ccf8f5c0c91b0
closes-bug: #1572520
(cherry picked from commit 13c6b695f6e201ef331a24ba61d0c3cfe859fb20)
  • Loading branch information
haripk committed May 12, 2016
1 parent 99b8677 commit 7587ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/vnsw/agent/services/arp_proto.cc
Expand Up @@ -57,7 +57,7 @@ void ArpProto::VrfNotify(DBTablePartBase *part, DBEntryBase *entry) {
state = static_cast<ArpVrfState *>(entry->GetState(part->parent(),
vrf_table_listener_id_));
if (entry->IsDeleted()) {
if (state && !state->deleted) {
if (state) {
for (ArpProto::ArpIterator it = arp_cache_.begin();
it != arp_cache_.end();) {
ArpEntry *arp_entry = it->second;
Expand Down

0 comments on commit 7587ce7

Please sign in to comment.