Skip to content

Commit

Permalink
Fix crash when processing MirrorOnDropDelta on non-DNX platforms
Browse files Browse the repository at this point in the history
Summary: Fix crash from P1690876977

Reviewed By: nivinl

Differential Revision: D66735581

fbshipit-source-id: 9ab3ca42367c481d9546ec7750e499021baee4ca
  • Loading branch information
maxwindiff authored and facebook-github-bot committed Dec 6, 2024
1 parent 33e8994 commit 230b933
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions fboss/agent/hw/sai/switch/SaiManagerTable.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,7 @@ void SaiManagerTable::createSaiTableManagers(
lagManager_ = std::make_unique<SaiLagManager>(
saiStore, this, platform, concurrentIndices);
wredManager_ = std::make_unique<SaiWredManager>(saiStore, this, platform);
// CSP CS00011823810
#if !defined(BRCM_SAI_SDK_XGS_AND_DNX) || defined(BRCM_SAI_SDK_DNX_GTE_11_0)
tamManager_ = std::make_unique<SaiTamManager>(saiStore, this, platform);
#endif
tunnelManager_ = std::make_unique<SaiTunnelManager>(saiStore, this, platform);
teFlowEntryManager_ =
std::make_unique<UnsupportedFeatureManager>("EM entries");
Expand Down Expand Up @@ -205,11 +202,7 @@ void SaiManagerTable::reset(bool skipSwitchManager) {
}
switchManager_->resetTamObject();
#endif

// CSP CS00011823810
#if !defined(BRCM_SAI_SDK_XGS_AND_DNX) || defined(BRCM_SAI_SDK_DNX_GTE_11_0)
tamManager_.reset();
#endif

// ports may be referenced in acls, reset ports after acls
systemPortManager_.reset();
Expand Down

0 comments on commit 230b933

Please sign in to comment.