-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
ndb: make non-unique FDB index more unique #1158
Conversation
There can be multicast FDBs with single ifindex and no NDA_VLAN at all (that means NDA_VLAN = 0), but NDA_DST will be different.
@svinota could you please review this PR and tell me what do you think about it? |
Thanks, looking how to merge (a small change required, but I fix it) |
Fixed, running CI locally. I will merge the the PR manually and update you here. |
The PR uses |
Pls check if this will work for you. |
Thanks! I'll test changes tomorrow. |
@svinota, yep it worked well, thank you! Could you please make a new release version? |
Sure thing, to be tagged tonight |
I found out that brmsg_schema has unique index on (ifindex, lladdr, vlan), so that gives an answer to me what happend in the linked issue.
There can be multicast FDBs with single ifindex and no NDA_VLAN at all (that means NDA_VLAN = 0), but NDA_DST will be different.
We can clearly see that in the example from the issue:
This change of index breaks backward compatibility for filters like this:
Now it's more like identity check:
Closes: #1091