summaryrefslogtreecommitdiff
path: root/zebra/zebra_netns_notify.c
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-02 18:12:19 +0300
committerGitHub <noreply@github.com>2021-08-02 18:12:19 +0300
commit72928fa1aa881f6aa9de884a965e2e8fef1b983e (patch)
tree9e7cae3c13fd28c04cde944b6170efe497920e9e /zebra/zebra_netns_notify.c
parent41d3d77496fb43df16c55c2c5834cdc3048f43d0 (diff)
parent6910315f6f3ddd66d8929cb82deaf96d13a2bfbf (diff)
Merge pull request #9238 from leonshaw/fix/netns-delete
lib, zebra: Preserve user-configured VRF on netns deletion
Diffstat (limited to 'zebra/zebra_netns_notify.c')
-rw-r--r--zebra/zebra_netns_notify.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/zebra/zebra_netns_notify.c b/zebra/zebra_netns_notify.c
index 3e89df68fd..054015846f 100644
--- a/zebra/zebra_netns_notify.c
+++ b/zebra/zebra_netns_notify.c
@@ -149,8 +149,6 @@ static int zebra_ns_delete(char *name)
"NS notify : no VRF found using NS %s", name);
return 0;
}
- /* Clear configured flag and invoke delete. */
- UNSET_FLAG(vrf->status, VRF_CONFIGURED);
ns = (struct ns *)vrf->ns_ctxt;
/* the deletion order is the same
* as the one used when siging signal is received