Skip to content

vlan fdb reference can't be reset to 0 when del all members #2886

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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

sempSONiC2
Copy link

What I did
clear vlan fdb reference when delete all vlan members
Why I did it
if there are fdb entries on vlan members, vlan will also has fdb reference counter. when delete vlan members and vlan, fdb reference count on vlan can't reset to 0, which cases failure on vlan deletion.
How I verified it
1 config vlan and vlan members
2 mac learning
3 delete vlan members and vlan
Details if related

when delete the last vlan member, check if fdb reference exists. clear fdb reference count if exists.
@sempSONiC2 sempSONiC2 requested a review from prsunny as a code owner August 24, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant