Commit e850522885 for frr

commit e85052288515e3fbb108717a9f89c81d4587e918
Author: Brad House <bhouse@nexthop.ai>
Date:   Tue Nov 10 20:53:28 2026 +0000

    zebra: tolerate ENOENT on RTM_DELNEIGH

    When zebra deletes a MAC or neighbor the kernel no longer has, the kernel
    answers ENOENT. netlink_parse_error() treats that as a failure, so the
    dplane context is marked failed and is not passed to the providers after
    the kernel. With FPM, the delete never reaches it, and a remote MAC whose
    kernel entry was already flushed stays in the FPM dataplane.

    Treat ENOENT on RTM_DELNEIGH as expected, as is done for RTM_DELNEXTHOP.

    Signed-off-by: Brad House <bhouse@nexthop.ai>

diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c
index aceb9ccd83..32fbe4c27b 100644
--- a/zebra/kernel_netlink.c
+++ b/zebra/kernel_netlink.c
@@ -822,6 +822,8 @@ static bool netlink_error_is_expected(const struct nlsock *nl, int msg_type, int
 			return -errnum == ENETDOWN || -errnum == EEXIST;
 		case RTM_DELNEXTHOP:
 			return -errnum == ENOENT || -errnum == ESRCH;
+		case RTM_DELNEIGH:
+			return -errnum == ENOENT;
 		case RTM_NEWTUNNEL:
 		case RTM_DELTUNNEL:
 		case RTM_GETTUNNEL: