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

zebra: fix missing kernel routes (backport #17326) #17358

Closed
wants to merge 2 commits into from

Commits on Nov 5, 2024

  1. zebra: fix missing kernel routes

    The `rib_update_handle_kernel_route_down_possibility()` didn't consider
    the kernel routes ( blackhole )  without interface.  When some other
    interfaces are down, these kernel routes will be wrongly removed.
    
    Signed-off-by: anlan_cs <[email protected]>
    (cherry picked from commit 44a82da)
    
    # Conflicts:
    #	zebra/zebra_rib.c
    anlancs authored and mergify[bot] committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    1d59ab9 View commit details
    Browse the repository at this point in the history
  2. test: add test case for kernel blackhole routes

    The test verifies that a kernel blackhole route is not affected by
    interface's link change.
    
    Signed-off-by: anlan_cs <[email protected]>
    (cherry picked from commit 0073a87)
    
    # Conflicts:
    #	tests/topotests/zebra_multiple_connected/test_zebra_multiple_connected.py
    anlancs authored and mergify[bot] committed Nov 5, 2024
    Configuration menu
    Copy the full SHA
    bb32ff6 View commit details
    Browse the repository at this point in the history