Skip to content

Commit

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

isisd: fix crash when calculating the neighbor spanning tree based on the fragmented LSP (backport FRRouting#16365)
  • Loading branch information
riw777 authored Jul 24, 2024
2 parents de6c3c7 + 043037e commit 99f3a30
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 @@ -868,6 +868,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 99f3a30

Please sign in to comment.