summaryrefslogtreecommitdiffstats
path: root/zebra/zebra_mpls.c
diff options
context:
space:
mode:
authorRuss White <russ@riw.us>2018-08-16 17:32:41 +0200
committerGitHub <noreply@github.com>2018-08-16 17:32:41 +0200
commit4b0d7894cba17263015b7a5d0f9436d10a492ebc (patch)
treef263dd99bf2740a5cd48c620a67b5f21cc01660e /zebra/zebra_mpls.c
parentMerge pull request #2849 from patrasar/memory_leak_nht (diff)
parentzebra: Trust backet->data (diff)
downloadfrr-4b0d7894cba17263015b7a5d0f9436d10a492ebc.tar.xz
frr-4b0d7894cba17263015b7a5d0f9436d10a492ebc.zip
Merge pull request #2846 from donaldsharp/backet_data
Backet data
Diffstat (limited to 'zebra/zebra_mpls.c')
-rw-r--r--zebra/zebra_mpls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_mpls.c b/zebra/zebra_mpls.c
index cd41537a1..f7283aed3 100644
--- a/zebra/zebra_mpls.c
+++ b/zebra/zebra_mpls.c
@@ -2446,7 +2446,7 @@ void mpls_ldp_lsp_uninstall_all(struct hash_backet *backet, void *ctxt)
struct hash *lsp_table;
lsp = (zebra_lsp_t *)backet->data;
- if (!lsp || !lsp->nhlfe_list)
+ if (!lsp->nhlfe_list)
return;
lsp_table = ctxt;