Commit 315c079
committed
isisd: fix crash in isis_area_destroy destruction order
Move lsp_db_fini() before circuit list cleanup in isis_area_destroy().
The lsp_destroy() function iterates over circuit_list to remove LSPs
from tx queues. With typesafe lists, a finalized list is invalid
(not NULL), so accessing it causes a crash.
Signed-off-by: Vincent Jardin <vjardin@free.fr>1 parent a633f66 commit 315c079
1 file changed
+5
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
541 | 541 | | |
542 | 542 | | |
543 | 543 | | |
| 544 | + | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
544 | 549 | | |
545 | 550 | | |
546 | 551 | | |
| |||
551 | 556 | | |
552 | 557 | | |
553 | 558 | | |
554 | | - | |
555 | | - | |
556 | | - | |
557 | 559 | | |
558 | 560 | | |
559 | 561 | | |
| |||
0 commit comments