mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-06-04 00:37:53 +00:00
Merge pull request #427 from opensourcerouting/zebra-ifdel-fix
lib: fix segfault on exit caused by interface removal
This commit is contained in:
commit
fc25a6680d
@ -190,6 +190,7 @@ if_unlink_per_ns (struct interface *ifp)
|
|||||||
{
|
{
|
||||||
ifp->node->info = NULL;
|
ifp->node->info = NULL;
|
||||||
route_unlock_node(ifp->node);
|
route_unlock_node(ifp->node);
|
||||||
|
ifp->node = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Look up an interface by identifier within a NS */
|
/* Look up an interface by identifier within a NS */
|
||||||
|
Loading…
Reference in New Issue
Block a user