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 duplicate route check for FRR #422

Merged
merged 2 commits into from
Nov 17, 2023
Merged

fix duplicate route check for FRR #422

merged 2 commits into from
Nov 17, 2023

Commits on Nov 13, 2023

  1. nl_route_query::query_route(): allow passing flags

    To support different kind of requests, add the option of passing flags.
    
    Signed-off-by: Jonas Gorski <[email protected]>
    KanjiMonster committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    8f4f95b View commit details
    Browse the repository at this point in the history
  2. nl_l3::{add,del}_l3_unicast_route(): retrieve full route for dupe check

    We need to pass RTM_F_FIB_MATCH as flags to RTM_GETROUTE to get the full
    route, else e.g. the dst will be a /32 resp. /128.
    
    Without this, the duplicate route check for filtering out FRR's
    temporary duplicate on-link routes won't trigger.
    
    Fixes: 96e14a8 ("nl_l3: ignore duplicated link routes from FRR")
    Signed-off-by: Jonas Gorski <[email protected]>
    KanjiMonster committed Nov 13, 2023
    Configuration menu
    Copy the full SHA
    1672f13 View commit details
    Browse the repository at this point in the history