]> git.proxmox.com Git - mirror_frr.git/commit
isisd: fix crash during candidate validation
authorRenato Westphal <renato@opensourcerouting.org>
Mon, 23 Sep 2019 12:37:49 +0000 (09:37 -0300)
committerRenato Westphal <renato@opensourcerouting.org>
Mon, 23 Sep 2019 12:38:05 +0000 (09:38 -0300)
commit952ef7cc90be488d6159b09de9c16eeabf36adc9
tree1d14726a6c404eea9e6a73668ecb337b67bd405e
parent463ef4b2a79fe31867603426babd398c9cdcd52a
isisd: fix crash during candidate validation

The "abort_if_not_found" parameter of nb_running_get_entry()
should be set to true only when this function is called during the
NB_EV_APPLY phase of a northbound callback. Failure to respect this
can lead to crashes when multiple configuration changes are being
committed at the same time.

Signed-off-by: Renato Westphal <renato@opensourcerouting.org>
isisd/isis_northbound.c