DEFINE_MTYPE(ZEBRA, ZEBRA_NS, "Zebra Name Space")
-static __inline int
+static inline int
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
const struct zebra_ns_table *e2);
static struct zebra_ns *dzns;
-static __inline int
+static inline int
zebra_ns_table_entry_compare(const struct zebra_ns_table *e1,
const struct zebra_ns_table *e2)
{
static void zebra_ns_free_table(struct zebra_ns_table *znst)
{
void *table_info;
+
rib_close_table(znst->table);
table_info = znst->table->info;
struct route_node *rnode;
rib_dest_t *dest;
- for (ALL_LIST_ELEMENTS(zebrad.mq->subq[i], lnode, nnode, rnode)) {
+ for (ALL_LIST_ELEMENTS(zebrad.mq->subq[i],
+ lnode, nnode, rnode)) {
dest = rib_dest_from_rnode(rnode);
if (dest && rib_dest_vrf(dest) == zvrf) {
route_unlock_node(rnode);