Skip to content

Commit 07055b5

Browse files
authored
Merge pull request FRRouting#20462 from FRRouting/mergify/bp/stable/10.1/pr-20171
isisd: fix crash when changing isis type (backport FRRouting#20171)
2 parents bd14ecd + d68dd51 commit 07055b5

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

isisd/isis_spf.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2040,6 +2040,8 @@ void isis_spf_invalidate_routes(struct isis_spftree *tree)
20402040
{
20412041
struct isis_route_table_info *backup_info;
20422042

2043+
if (!tree)
2044+
return;
20432045
isis_route_invalidate_table(tree->area, tree->route_table);
20442046

20452047
/* Delete backup routes. */

0 commit comments

Comments
 (0)