Skip to content

Commit

Permalink
Merge pull request FRRouting#16397 from FRRouting/mergify/bp/stable/9…
Browse files Browse the repository at this point in the history
….1/pr-16365

isisd: fix crash when calculating the neighbor spanning tree based on the fragmented LSP (backport FRRouting#16365)
  • Loading branch information
Jafaral committed Jul 17, 2024
2 parents f412949 + 5658142 commit 6b77433
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions isisd/isis_spf.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 6b77433

Please sign in to comment.