summaryrefslogtreecommitdiff
path: root/isisd/isisd.h
diff options
context:
space:
mode:
authorFritz Reichmann <fritz@reichmann.nl>2011-09-14 19:31:51 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2011-09-27 20:48:43 +0400
commit5574999e598eee290c7e43a2b3a7aafd27be0ee0 (patch)
tree0d3b6cdf55031385cec680045edcd1315c6e8812 /isisd/isisd.h
parentb69442d456fa6a00716c5a0684395b04f5794cd6 (diff)
isisd: fix crash on "no router isis" (BZ#536)
The crash is due to threads accessing data that gets destroyed during the removal of the configuration. * isis_circuit.c: Destroy adjacencies to stop adjacency expiry thread. Stop PSNP threads. * isisd.c: Change state of circuit back to INIT and reassign the circuit structure to isis->init_circ_list rather than destroying the circuit data structure. Stop SPF threads. Stop LSP generation threads. * isisd.h: Add pointers to LSP threads into area structure in order to stop them in isisd.c * isis_lsp.c: Store pointer to LSP thread in area structure. * isis_pdu.c: Stop PDU generation for a circuit with a removed area. * isis_pfpacket.c: Stop processing received PDUs for a circuit with a removed area.
Diffstat (limited to 'isisd/isisd.h')
-rw-r--r--isisd/isisd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/isisd/isisd.h b/isisd/isisd.h
index 2277f27c..b17982e2 100644
--- a/isisd/isisd.h
+++ b/isisd/isisd.h
@@ -93,6 +93,8 @@ struct isis_area
struct flags flags;
struct thread *t_tick; /* LSP walker */
struct thread *t_remove_aged;
+ struct thread *t_lsp_l1_regenerate;
+ struct thread *t_lsp_l2_regenerate;
int lsp_regenerate_pending[ISIS_LEVELS];
struct thread *t_lsp_refresh[ISIS_LEVELS];