]> git.puffer.fish Git - matthieu/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 17:18:36 +0000 (14:18 -0300)
commit8811b9a1d0391e9401ac0d709b61e5d18145d098
tree14fe636b606eedc91782f3a456f2965324edf36f
parent7d7828cf25492a5706ccad79e22d11ef526d3fed
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