mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-05 06:23:04 +00:00
Merge pull request #4531 from donaldsharp/repeaty_mcrepeat
zebra: Handle 5549 neighbor entry failure state
This commit is contained in:
commit
9578e35d34
@ -2417,8 +2417,13 @@ static int netlink_ipneigh_change(struct nlmsghdr *h, int len, ns_id_t ns_id)
|
||||
}
|
||||
|
||||
/* if kernel marks our rfc5549 neighbor entry invalid, re-install it */
|
||||
if (h->nlmsg_type == RTM_NEWNEIGH && !(ndm->ndm_state & NUD_VALID))
|
||||
netlink_handle_5549(ndm, zif, ifp, &ip);
|
||||
if (h->nlmsg_type == RTM_NEWNEIGH && !(ndm->ndm_state & NUD_VALID)) {
|
||||
if (!(ndm->ndm_state & NUD_FAILED))
|
||||
netlink_handle_5549(ndm, zif, ifp, &ip);
|
||||
else
|
||||
zlog_info("Neighbor Entry for %s has entered a failed state, not reinstalling",
|
||||
ifp->name);
|
||||
}
|
||||
|
||||
/* The neighbor is present on an SVI. From this, we locate the
|
||||
* underlying
|
||||
|
Loading…
Reference in New Issue
Block a user