Skip to content

Commit

Permalink
[syncd] bulk OID remove requires RID (sonic-net#854)
Browse files Browse the repository at this point in the history
Syncd::processBulkOidRemove() is incorrectly passing objectVids.data() to m_vendorSai->bulkRemove() when it should be passing objectRids.data(). Only RID should be passed to m_vendorSai calls.
  • Loading branch information
qbdwlr authored Jul 4, 2021
1 parent 7da0894 commit 5c2aaae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion syncd/Syncd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1495,7 +1495,7 @@ sai_status_t Syncd::processBulkOidRemove(
status = m_vendorSai->bulkRemove(
objectType,
(uint32_t)object_count,
objectVids.data(),
objectRids.data(),
mode,
statuses.data());

Expand Down

0 comments on commit 5c2aaae

Please sign in to comment.