1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Interface subsystem locking

This commit is contained in:
Maria Matejka
2023-04-04 16:41:55 +02:00
parent a26d307eab
commit b8a230e478
10 changed files with 291 additions and 126 deletions

View File

@@ -1225,10 +1225,9 @@ ospf_ifa_notify3(struct proto *P, uint flags, struct ifa *a)
static void
ospf_reconfigure_ifaces2(struct ospf_proto *p)
{
struct iface *iface;
struct ifa *a;
WALK_LIST(iface, iface_list)
IFACE_WALK(iface)
{
if (p->p.vrf && p->p.vrf != iface->master)
continue;
@@ -1274,10 +1273,9 @@ ospf_reconfigure_ifaces2(struct ospf_proto *p)
static void
ospf_reconfigure_ifaces3(struct ospf_proto *p)
{
struct iface *iface;
struct ifa *a;
WALK_LIST(iface, iface_list)
IFACE_WALK(iface)
{
if (p->p.vrf && p->p.vrf != iface->master)
continue;