summaryrefslogtreecommitdiff
path: root/lib/buffer.c
diff options
context:
space:
mode:
authorChristian Franke <chris@opensourcerouting.org>2018-07-17 15:14:54 -0400
committerChristian Franke <chris@opensourcerouting.org>2018-07-19 10:11:07 -0400
commitd4670f515b7f62bfd8f9bdd750540245aab542c0 (patch)
tree5dd8bf81cf8ba0bc81eea0c3754965be7c2013d1 /lib/buffer.c
parentd1a85fe40d93d31f7f0daf54912a159fcabfaddc (diff)
isisd: don't crash when isis_sock_init fails
When isis_sock_init fails in isis_circuit_up, isis_circuit_down would be called to cancel timers which were scheduled. However isis_circuit_down would immediately return, since the state had not been changed to 'UP' yet. Fix this by having isis_circuit_down always cancel all the timers. Signed-off-by: Christian Franke <chris@opensourcerouting.org>
Diffstat (limited to 'lib/buffer.c')
0 files changed, 0 insertions, 0 deletions