diff --git a/zebra/if_ioctl.c b/zebra/if_ioctl.c index d0aa2167fe5d..688a7f6e332f 100644 --- a/zebra/if_ioctl.c +++ b/zebra/if_ioctl.c @@ -296,6 +296,8 @@ void interface_list(struct zebra_ns *zns) /proc/net/if_inet6. */ ifaddr_proc_ipv6(); #endif /* HAVE_PROC_NET_IF_INET6 */ + + zebra_dplane_startup_stage(zns, ZEBRA_DPLANE_INTERFACES_READ); } #endif /* OPEN_BSD */ diff --git a/zebra/if_sysctl.c b/zebra/if_sysctl.c index 9db959896edd..28cbb0415a5c 100644 --- a/zebra/if_sysctl.c +++ b/zebra/if_sysctl.c @@ -128,6 +128,8 @@ void interface_list(struct zebra_ns *zns) /* Free sysctl buffer. */ XFREE(MTYPE_TMP, ref); + + zebra_dplane_startup_stage(zns, ZEBRA_DPLANE_INTERFACES_READ); } #endif /* !defined(GNU_LINUX) && !defined(OPEN_BSD) */ diff --git a/zebra/kernel_socket.c b/zebra/kernel_socket.c index d50e7de229a8..5cfbe7a896dd 100644 --- a/zebra/kernel_socket.c +++ b/zebra/kernel_socket.c @@ -1468,10 +1468,12 @@ static void routing_socket(struct zebra_ns *zns) void interface_list_second(struct zebra_ns *zns) { + zebra_dplane_startup_stage(zns, ZEBRA_DPLANE_ADDRESSES_READ); } void interface_list_tunneldump(struct zebra_ns *zns) { + zebra_dplane_startup_stage(zns, ZEBRA_DPLANE_TUNNELS_READ); } /* Exported interface function. This function simply calls