diff options
author | Mark Stapp <mjs@cisco.com> | 2024-10-24 23:49:28 +0200 |
---|---|---|
committer | Mark Stapp <mjs@cisco.com> | 2024-10-29 18:49:43 +0100 |
commit | c1160538ea8a043490c533e2d669d307e84950ac (patch) | |
tree | df7f171b88b1a2e161fd3b0bb32bf576b4406179 /lib | |
parent | zebra: use new per-NS iteration in zebra_evpn (diff) | |
download | frr-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.c | 6 | ||||
-rw-r--r-- | lib/if.h | 2 |
2 files changed, 0 insertions, 8 deletions
@@ -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); } } @@ -295,8 +295,6 @@ struct interface { struct if_data stats; #endif /* HAVE_NET_RT_IFLIST */ - struct route_node *node; - struct vrf *vrf; /* |