diff options
| author | Jafar Al-Gharaibeh <jafar@atcorp.com> | 2024-08-27 17:49:40 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-08-27 17:49:40 -0400 |
| commit | 70a43de7568ef6ffa6e068ed0532af0157585f0d (patch) | |
| tree | d49c362933c16f01dd95a2461001ed09e0778214 | |
| parent | 407ffd2f6228ac618212e8a78a60645680ebf571 (diff) | |
| parent | 84a61d9a5ee7eaa842441fb1767ea0566bf2fc9f (diff) | |
Merge pull request #16669 from FRRouting/mergify/bp/stable/10.1/pr-16665
isisd: fix crash at flex-algo without mpls-te (backport #16665)
| -rw-r--r-- | isisd/isis_te.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/isisd/isis_te.c b/isisd/isis_te.c index 3683f74558..a2d08e615b 100644 --- a/isisd/isis_te.c +++ b/isisd/isis_te.c @@ -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; |
