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

kernel_netlink: Convert src_plen to v4mapped encoding on import #28

Closed
wants to merge 1 commit into from

Conversation

fblaese
Copy link
Contributor

@fblaese fblaese commented Dec 25, 2018

src_plen for IPv4 routes imported from kernel has not been adjusted
to v4mapped encoding. Therefore IPv4 xroutes used an inconsistent encoding
which lead to failed comparisons when sending updates.

Routes received from neighbors with the same prefix as xroutes therefore
have been announced to neighbours instead.

This issue is fixed by converting src_plen on import.

Signed-off-by: Fabian Bläse fabian@blaese.de

src_plen for IPv4 routes imported from kernel has not been adjusted
to v4mapped encoding. Therefore IPv4 xroutes used an inconsistent encoding
which lead to failed comparisons when sending updates.

Routes received from neighbors with the same prefix as xroutes therefore
have been announced to neighbours instead.

This issue is fixed by converting src_plen on import.

Signed-off-by: Fabian Bläse <fabian@blaese.de>
@dtaht
Copy link

dtaht commented Feb 3, 2019

LGTM! I think I've seen this behavior.

@dtaht
Copy link

dtaht commented Feb 9, 2019

this appears corrct to me. @jech ??

@jech
Copy link
Owner

jech commented Mar 8, 2019

Thanks, applied.

@jech jech closed this Mar 8, 2019
@fblaese fblaese deleted the ss_fix branch September 18, 2019 23:13
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.

3 participants