Merge pull request #427 from opensourcerouting/zebra-ifdel-fix

lib: fix segfault on exit caused by interface removal
This commit is contained in:
Donald Sharp 2017-04-28 15:56:10 -04:00 committed by GitHub
commit fc25a6680d

View File

@ -190,6 +190,7 @@ if_unlink_per_ns (struct interface *ifp)
{
ifp->node->info = NULL;
route_unlock_node(ifp->node);
ifp->node = NULL;
}
/* Look up an interface by identifier within a NS */