diff options
-rw-r--r-- | src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c b/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c index c1fea804c56..0b7b0fefea3 100644 --- a/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c +++ b/src/vnet/lisp-gpe/lisp_gpe_fwd_entry.c @@ -424,6 +424,9 @@ vnet_lisp_gpe_add_fwd_counters (vnet_lisp_gpe_add_del_fwd_entry_args_t * a, lfe = find_fwd_entry (lgm, a, &fe_key); + if (!lfe) + return; + if (LISP_GPE_FWD_ENTRY_TYPE_NORMAL != lfe->type) return; |