diff options
author | Maria Matejka <mq@ucw.cz> | 2022-01-24 15:48:18 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2022-02-03 10:30:33 +0100 |
commit | d37513a372b0d5b133f59293af185ec831e2456f (patch) | |
tree | ef710a0adcc81bbf725b4a39e0fd3ae50df3117e /proto | |
parent | c651cef737c7c7578c26bd787c0abd3c364bf4b8 (diff) |
Neighbors: Locking and asynchronous notifications
Diffstat (limited to 'proto')
-rw-r--r-- | proto/babel/babel.c | 1 | ||||
-rw-r--r-- | proto/ospf/iface.c | 2 | ||||
-rw-r--r-- | proto/radv/radv.c | 1 | ||||
-rw-r--r-- | proto/rip/rip.c | 1 |
4 files changed, 5 insertions, 0 deletions
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)) |