From d37513a372b0d5b133f59293af185ec831e2456f Mon Sep 17 00:00:00 2001 From: Maria Matejka Date: Mon, 24 Jan 2022 15:48:18 +0100 Subject: Neighbors: Locking and asynchronous notifications --- proto/babel/babel.c | 1 + proto/ospf/iface.c | 2 ++ proto/radv/radv.c | 1 + proto/rip/rip.c | 1 + 4 files changed, 5 insertions(+) (limited to 'proto') diff --git a/proto/babel/babel.c b/proto/babel/babel.c index 8d80d7cd..6d2a593e 100644 --- a/proto/babel/babel.c +++ b/proto/babel/babel.c @@ -1907,6 +1907,7 @@ babel_reconfigure_ifaces(struct babel_proto *p, struct babel_config *cf) { struct iface *iface; + IFACE_LEGACY_ACCESS; WALK_LIST(iface, global_iface_list) { if (!(iface->flags & IF_UP)) diff --git a/proto/ospf/iface.c b/proto/ospf/iface.c index b8c40c9b..049030ac 100644 --- a/proto/ospf/iface.c +++ b/proto/ospf/iface.c @@ -1225,6 +1225,7 @@ ospf_reconfigure_ifaces2(struct ospf_proto *p) struct iface *iface; struct ifa *a; + IFACE_LEGACY_ACCESS; WALK_LIST(iface, global_iface_list) { if (! (iface->flags & IF_UP)) @@ -1271,6 +1272,7 @@ ospf_reconfigure_ifaces3(struct ospf_proto *p) struct iface *iface; struct ifa *a; + IFACE_LEGACY_ACCESS; WALK_LIST(iface, global_iface_list) { if (! (iface->flags & IF_UP)) diff --git a/proto/radv/radv.c b/proto/radv/radv.c index 63549c77..15673555 100644 --- a/proto/radv/radv.c +++ b/proto/radv/radv.c @@ -663,6 +663,7 @@ radv_reconfigure(struct proto *P, struct proto_config *CF) if (!old->propagate_routes && new->propagate_routes) channel_request_feeding(p->p.main_channel); + IFACE_LEGACY_ACCESS; struct iface *iface; WALK_LIST(iface, global_iface_list) { diff --git a/proto/rip/rip.c b/proto/rip/rip.c index b4c702ae..ffb7779b 100644 --- a/proto/rip/rip.c +++ b/proto/rip/rip.c @@ -776,6 +776,7 @@ rip_reconfigure_ifaces(struct rip_proto *p, struct rip_config *cf) { struct iface *iface; + IFACE_LEGACY_ACCESS; WALK_LIST(iface, global_iface_list) { if (!(iface->flags & IF_UP)) -- cgit v1.2.3