Skip to content

Commit

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

isisd: fix crash at flex-algo without mpls-te (backport FRRouting#16665)
  • Loading branch information
Jafaral authored Aug 28, 2024
2 parents fc7cf27 + ae8b6b2 commit 3bf73b8
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 3bf73b8

Please sign in to comment.