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

[FPMSYNCD/FDBSYNCD] EVPN Type-5 route removing prefix-len for host route and removing junk character present in the mac #1553

Merged
merged 24 commits into from
Dec 18, 2020

Conversation

kishorekunal01
Copy link
Contributor

@kishorekunal01 kishorekunal01 commented Dec 16, 2020

[FPMSYNCD/FDBSYNCD]
To make EVPN prefix route inline with the existing code, removing the prefix-len for host routes(/32 and /128).
Some Junk character are present in the mac and port name while config MAC in the kernel.

What I did
If the prefix is a host route don't append the prefix-len while creating the prefix.
With the review comment fix one place memset was removed due to this MAC and port name is containing trailing junk character. Due to this MAC and port name has some Junk character and Kernel is returning error.

Why I did it
Remove the prefix-len for host-routes (/32 & /128)
Removed junk char while installing the FDB entry into Kernel

How I verified it
Verified using vsonic

Signed-off-by: Kishore Kunal [email protected]

1549.diff Outdated Show resolved Hide resolved
@kishorekunal01 kishorekunal01 changed the title [FPMSYNCD] EVPN Type-5 route has prefix-len for host route(/32 &/128) it is not inline with existing code for default-vrf and vrf [FPMSYNCD/FDBSYNCD] EVPN Type-5 route removing prefix-len for host route(/32 &/128) and removing Junk character present in the mac Dec 18, 2020
@kishorekunal01 kishorekunal01 changed the title [FPMSYNCD/FDBSYNCD] EVPN Type-5 route removing prefix-len for host route(/32 &/128) and removing Junk character present in the mac [FPMSYNCD/FDBSYNCD] EVPN Type-5 route removing prefix-len for host route and removing junk character present in the mac Dec 18, 2020
@prsunny prsunny merged commit 4365bb8 into sonic-net:master Dec 18, 2020
EdenGri pushed a commit to EdenGri/sonic-swss that referenced this pull request Feb 28, 2022
These issues are only seen on secureboot enabled platform.
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.

2 participants