Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix learn fdb events after fdb flush event #524

Merged
merged 3 commits into from
Oct 30, 2019

Conversation

kcudnik
Copy link
Collaborator

@kcudnik kcudnik commented Oct 21, 2019

Before this fix if flush event is received, vlan id in fdb_info was always set to zero, and it should be extracted from bv_id field in fdb_entry, this was causing to not find exact fdb entry in g_fdb_info_set and since those entries were always there, they were not "learned" again

Issue was to not populate correct vlan id in fdb_info struct
so entries to remove were still present in fdn_info set.
@prsunny
Copy link
Contributor

prsunny commented Oct 21, 2019

@kcudnik , Can you give some details on the fix in description? AFAIK, there were few issues with flush/learn events.

@kcudnik
Copy link
Collaborator Author

kcudnik commented Oct 21, 2019

added description as requested

@lguohan lguohan merged commit afe2a0d into sonic-net:master Oct 30, 2019
@kcudnik kcudnik deleted the fixfdbflush branch November 5, 2019 09:39
pettershao-ragilenetworks pushed a commit to pettershao-ragilenetworks/sonic-sairedis that referenced this pull request Nov 18, 2022
Before this fix if flush event is received, vlan id in fdb_info was always set to zero, and it should be extracted from bv_id field in fdb_entry, this was causing to not find exact fdb entry in g_fdb_info_set and since those entries were always there, they were not "learned" again
jianyuewu pushed a commit to jianyuewu/sonic-sairedis that referenced this pull request Feb 7, 2025
…ic-net#524)

* teamshow now also prints message and exits if not run as root
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants