From a58e6e0c27a1798200ea0b8bb13f52edb5824a71 Mon Sep 17 00:00:00 2001 From: Mitesh Kanjariya Date: Wed, 29 Nov 2017 16:24:07 -0800 Subject: [PATCH] zebra: Do not check for l3vni oper up in nh uninstall We shouldnt check for l3vni oper up while uninstalling the next-hop. Signed-off-by: Mitesh Kanjariya --- zebra/zebra_vxlan.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 3812a64f16..7b79c5be4d 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -3229,9 +3229,6 @@ static int zl3vni_nh_install(zebra_l3vni_t *zl3vni, static int zl3vni_nh_uninstall(zebra_l3vni_t *zl3vni, zebra_neigh_t *n) { - if (!is_l3vni_oper_up(zl3vni)) - return -1; - if (!(n->flags & ZEBRA_NEIGH_REMOTE) || !(n->flags & ZEBRA_NEIGH_REMOTE_NH)) return 0; -- 2.39.5