Skip to content

Commit

Permalink
Merge pull request #16365 from zhou-run/202407101356
Browse files Browse the repository at this point in the history
isisd: fix crash when calculating the neighbor spanning tree based on the fragmented LSP
  • Loading branch information
riw777 authored Jul 16, 2024
2 parents 74e720c + e905177 commit 9fc68d9
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 9fc68d9

Please sign in to comment.