X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fgre%2Fgre.c;h=fcdf9c0d6bc58c27cf1bde3469a2ffde5fe10ff4;hb=8f5fef2c7;hp=0669c676bf5e733ba15dad7bac07cd60a444e936;hpb=65d789e4baa0be3086b9dd97e3fdfea35b5f7857;p=vpp.git diff --git a/src/vnet/gre/gre.c b/src/vnet/gre/gre.c index 0669c676bf5..fcdf9c0d6bc 100644 --- a/src/vnet/gre/gre.c +++ b/src/vnet/gre/gre.c @@ -495,8 +495,13 @@ mgre_update_adj (vnet_main_t * vnm, u32 sw_if_index, adj_index_t ai) adj->ia_nh_proto, &adj->sub_type.nbr.next_hop); if (NULL == ne) - // no NHRP entry to provide the next-hop - return; + { + // no TEIB entry to provide the next-hop + adj_nbr_midchain_update_rewrite ( + ai, gre_get_fixup (t->tunnel_dst.fp_proto, adj_get_link_type (ai)), + uword_to_pointer (t->flags, void *), ADJ_FLAG_NONE, NULL); + return; + } mgre_walk_ctx_t ctx = { .t = t,