summaryrefslogtreecommitdiff
path: root/zebra/kernel_netlink.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2021-08-17 07:57:39 -0400
committerGitHub <noreply@github.com>2021-08-17 07:57:39 -0400
commitc59463fb1e074e7536e5c7bf274216a2a87b565c (patch)
tree4eddb0a29d20cfdc202d2aaef485eb59b04279ae /zebra/kernel_netlink.c
parent40d9855588606e32821d22c40c980b0d5739186c (diff)
parent7a52f27e75225fca9fde41fe16cbe63acca9b20f (diff)
Merge pull request #9413 from pguibert6WIND/rtmgetneigh_too
zebra: RTM_GETNEIGH messages may be used by nhrp
Diffstat (limited to 'zebra/kernel_netlink.c')
-rw-r--r--zebra/kernel_netlink.c14
1 files changed, 1 insertions, 13 deletions
diff --git a/zebra/kernel_netlink.c b/zebra/kernel_netlink.c
index 011883649d..effec24c1f 100644
--- a/zebra/kernel_netlink.c
+++ b/zebra/kernel_netlink.c
@@ -350,21 +350,9 @@ static int netlink_information_fetch(struct nlmsghdr *h, ns_id_t ns_id,
case RTM_DELADDR:
return netlink_interface_addr(h, ns_id, startup);
case RTM_NEWNEIGH:
- return netlink_neigh_change(h, ns_id);
case RTM_DELNEIGH:
- return netlink_neigh_change(h, ns_id);
case RTM_GETNEIGH:
- /*
- * Kernel in some situations when it expects
- * user space to resolve arp entries, we will
- * receive this notification. As we don't
- * need this notification and as that
- * we don't want to spam the log file with
- * below messages, just ignore.
- */
- if (IS_ZEBRA_DEBUG_KERNEL)
- zlog_debug("Received RTM_GETNEIGH, ignoring");
- break;
+ return netlink_neigh_change(h, ns_id);
case RTM_NEWRULE:
return netlink_rule_change(h, ns_id, startup);
case RTM_DELRULE: