Skip to content

Commit 3bf73b8

Browse files
authored
Merge pull request #16668 from FRRouting/mergify/bp/stable/10.0/pr-16665
isisd: fix crash at flex-algo without mpls-te (backport #16665)
2 parents fc7cf27 + ae8b6b2 commit 3bf73b8

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

isisd/isis_te.c

+4
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,10 @@ static void isis_link_params_update_asla(struct isis_circuit *circuit,
172172
struct isis_ext_subtlvs *ext = circuit->ext;
173173
int i;
174174

175+
if (!ext)
176+
/* no extended subTLVs - nothing to update */
177+
return;
178+
175179
if (!HAS_LINK_PARAMS(ifp)) {
176180
list_delete_all_node(ext->aslas);
177181
return;

0 commit comments

Comments
 (0)