diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-07-17 12:15:59 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-07-17 12:15:59 -0400 |
| commit | 6b77433cd64436e97e975ff40d259f17e18bba1c (patch) | |
| tree | 6e6d56a86bdb1746a6eeb79fc17a946cd405597b | |
| parent | f412949f8b24521a9b3ef49ee4ef493ce6c03630 (diff) | |
| parent | 5658142ebc861aed0908664848d57b8bf072b972 (diff) | |
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)
| -rw-r--r-- | isisd/isis_spf.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/isisd/isis_spf.c b/isisd/isis_spf.c index 3b3e1fd973..9cb964b96a 100644 --- a/isisd/isis_spf.c +++ b/isisd/isis_spf.c @@ -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; |
