Skip to content

Commit

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

isisd: fix crash when calculating the neighbor spanning tree based on the fragmented LSP (backport FRRouting#16365)
  • Loading branch information
ton31337 committed Jul 20, 2024
2 parents 0037fb4 + f5121be commit c9bd77c
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 c9bd77c

Please sign in to comment.