Skip to content

Commit

Permalink
Handle FDB meta data together with FDB data in fdborch to avoid race …
Browse files Browse the repository at this point in the history
…condition

Signed-off-by: Jipan Yang <jipan.yang@alibaba-inc.com>
  • Loading branch information
jipanyang committed Mar 29, 2019
1 parent a304007 commit 105e85c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions orchagent/fdborch.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,7 @@ void FdbOrch::doTask(NotificationConsumer& consumer)
sai_fdb_event_notification_data_t *fdbevent = nullptr;

sai_deserialize_fdb_event_ntf(data, count, &fdbevent);
meta_sai_on_fdb_event(count, fdbevent);

for (uint32_t i = 0; i < count; ++i)
{
Expand Down

0 comments on commit 105e85c

Please sign in to comment.