mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 17:13:46 +00:00
Merge pull request #8021 from AnuradhaKaruppiah/evpn-weak-override-fix
zebra: disable setting weak override flag in neigh updates
This commit is contained in:
commit
e1cfd75ffb
@ -3695,14 +3695,6 @@ static ssize_t netlink_neigh_update_ctx(const struct zebra_dplane_ctx *ctx,
|
|||||||
/* local neigh */
|
/* local neigh */
|
||||||
if (update_flags & DPLANE_NEIGH_SET_STATIC)
|
if (update_flags & DPLANE_NEIGH_SET_STATIC)
|
||||||
ext_flags |= NTF_E_MH_PEER_SYNC;
|
ext_flags |= NTF_E_MH_PEER_SYNC;
|
||||||
|
|
||||||
/* the ndm_state set for local entries can be REACHABLE or
|
|
||||||
* STALE. if the dataplane has already establish reachability
|
|
||||||
* (in the meantime) FRR must not over-write it with STALE.
|
|
||||||
* this accidental race/over-write is avoided by using the
|
|
||||||
* WEAK_OVERRIDE_STATE
|
|
||||||
*/
|
|
||||||
ext_flags |= NTF_E_WEAK_OVERRIDE_STATE;
|
|
||||||
}
|
}
|
||||||
if (IS_ZEBRA_DEBUG_KERNEL) {
|
if (IS_ZEBRA_DEBUG_KERNEL) {
|
||||||
char buf[INET6_ADDRSTRLEN];
|
char buf[INET6_ADDRSTRLEN];
|
||||||
|
Loading…
Reference in New Issue
Block a user