Merge pull request #8021 from AnuradhaKaruppiah/evpn-weak-override-fix

zebra: disable setting weak override flag in neigh updates
This commit is contained in:
Patrick Ruddy 2021-03-02 10:44:43 +00:00 committed by GitHub
commit e1cfd75ffb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3695,14 +3695,6 @@ static ssize_t netlink_neigh_update_ctx(const struct zebra_dplane_ctx *ctx,
/* local neigh */
if (update_flags & DPLANE_NEIGH_SET_STATIC)
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) {
char buf[INET6_ADDRSTRLEN];