Merge pull request #16397 from FRRouting/mergify/bp/stable/9.1/pr-16365

isisd: fix crash when calculating the neighbor spanning tree based on the fragmented LSP (backport #16365)
This commit is contained in:
Jafar Al-Gharaibeh 2024-07-17 12:15:59 -04:00 committed by GitHub
commit 6b77433cd6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -873,6 +873,9 @@ static int isis_spf_process_lsp(struct isis_spftree *spftree,
|| (mt_router_info && !mt_router_info->overload));
lspfragloop:
if (!lsp->tlvs)
return ISIS_OK;
if (lsp->hdr.seqno == 0) {
zlog_warn("%s: lsp with 0 seq_num - ignore", __func__);
return ISIS_WARNING;