summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorMark Stapp <mjs@cisco.com>2024-10-24 23:49:28 +0200
committerMark Stapp <mjs@cisco.com>2024-10-29 18:49:43 +0100
commitc1160538ea8a043490c533e2d669d307e84950ac (patch)
treedf7f171b88b1a2e161fd3b0bb32bf576b4406179 /lib
parentzebra: use new per-NS iteration in zebra_evpn (diff)
downloadfrr-c1160538ea8a043490c533e2d669d307e84950ac.tar.xz
frr-c1160538ea8a043490c533e2d669d307e84950ac.zip
lib,zebra: remove table node from ifp struct
Finish removing the table route_node from the ifp struct. Signed-off-by: Mark Stapp <mjs@cisco.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/if.c6
-rw-r--r--lib/if.h2
2 files changed, 0 insertions, 8 deletions
diff --git a/lib/if.c b/lib/if.c
index 8f15230f2..378ca16e4 100644
--- a/lib/if.c
+++ b/lib/if.c
@@ -1002,12 +1002,6 @@ void if_terminate(struct vrf *vrf)
while (!RB_EMPTY(if_name_head, &vrf->ifaces_by_name)) {
ifp = RB_ROOT(if_name_head, &vrf->ifaces_by_name);
-
- if (ifp->node) {
- ifp->node->info = NULL;
- route_unlock_node(ifp->node);
- ifp->node = NULL;
- }
if_delete(&ifp);
}
}
diff --git a/lib/if.h b/lib/if.h
index 0dc56bd21..c2ec73378 100644
--- a/lib/if.h
+++ b/lib/if.h
@@ -295,8 +295,6 @@ struct interface {
struct if_data stats;
#endif /* HAVE_NET_RT_IFLIST */
- struct route_node *node;
-
struct vrf *vrf;
/*