Skip to content

Commit

Permalink
Merge pull request #16669 from FRRouting/mergify/bp/stable/10.1/pr-16665
Browse files Browse the repository at this point in the history
isisd: fix crash at flex-algo without mpls-te (backport #16665)
  • Loading branch information
Jafaral authored Aug 27, 2024
2 parents 407ffd2 + 84a61d9 commit 70a43de
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions isisd/isis_te.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,10 @@ static void isis_link_params_update_asla(struct isis_circuit *circuit,
struct isis_ext_subtlvs *ext = circuit->ext;
int i;

if (!ext)
/* no extended subTLVs - nothing to update */
return;

if (!HAS_LINK_PARAMS(ifp)) {
list_delete_all_node(ext->aslas);
return;
Expand Down

0 comments on commit 70a43de

Please sign in to comment.