Skip to content

Commit

Permalink
Check if VxlanRoutingVrfMapper entry was found in VxlanRoutingManager
Browse files Browse the repository at this point in the history
Change-Id: Ia2f1688ab35b6c41731eb7f23d5595d87617919c
Closes-Bug: 1763706
  • Loading branch information
Dariusz Sosnowski committed Apr 13, 2018
1 parent 6586688 commit 74efb26
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/vnsw/agent/oper/vxlan_routing_manager.cc
Expand Up @@ -380,7 +380,8 @@ void VxlanRoutingManager::BridgeVnNotify(const VnEntry *vn,
update = false;
}

if ((it->second != vn_state->logical_router_uuid_) &&
if (it != vrf_mapper_.vn_lr_set_.end() &&
(it->second != vn_state->logical_router_uuid_) &&
(vn_state->logical_router_uuid_ != nil_uuid())) {
withdraw = true;
}
Expand Down

0 comments on commit 74efb26

Please sign in to comment.