summaryrefslogtreecommitdiff
path: root/zebra/zebra_netns_notify.c
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_netns_notify.c')
-rw-r--r--zebra/zebra_netns_notify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_netns_notify.c b/zebra/zebra_netns_notify.c
index 0d260ad639..5b9539904f 100644
--- a/zebra/zebra_netns_notify.c
+++ b/zebra/zebra_netns_notify.c
@@ -165,6 +165,7 @@ static int zebra_ns_delete(char *name)
/* the deletion order is the same
* as the one used when siging signal is received
*/
+ vrf->ns_ctxt = NULL;
vrf_delete(vrf);
if (ns)
ns_delete(ns);