mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 12:49:18 +00:00
Merge pull request #3261 from mjstapp/fix_rib_close
zebra: only uninstall once, when closing rib table
This commit is contained in:
commit
cac967ca3b
@ -3246,8 +3246,10 @@ void rib_close_table(struct route_table *table)
|
|||||||
if (info->safi == SAFI_UNICAST)
|
if (info->safi == SAFI_UNICAST)
|
||||||
hook_call(rib_update, rn, NULL);
|
hook_call(rib_update, rn, NULL);
|
||||||
|
|
||||||
if (!RIB_SYSTEM_ROUTE(dest->selected_fib))
|
if (!RIB_SYSTEM_ROUTE(dest->selected_fib)) {
|
||||||
rib_uninstall_kernel(rn, dest->selected_fib);
|
rib_uninstall_kernel(rn, dest->selected_fib);
|
||||||
|
dest->selected_fib = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user