diff options
| author | saravanank <saravanank@vmware.com> | 2020-03-15 19:23:38 -0700 |
|---|---|---|
| committer | saravanank <saravanank@vmware.com> | 2020-03-16 23:57:45 -0700 |
| commit | a2665e381ce0929d8194f840bb8a255ee52f3f9b (patch) | |
| tree | bae119cdad162012c547ba9041fd7748a000c82e /lib/clippy.c | |
| parent | 7f2ccbe562cae49fb8bf1770a0ec79b701ee41af (diff) | |
zebra: Disable rmap update thread before routemap_finish while shutting down zebra
Problem: While zebra going down, rmap update thread is being called as part of
timer event. This make zebra to crash.
RCA: At this time route_map_master_hash is made to 0 by sig int handler.
This is causing Zebrad to crash while executing rmap update thread
Fix: As part of SIGINT handler, before calling routemap_finish,
thread off any routemap update scheduled at that point and make sure that
it wont get scheduled again by making the timeout as 0.
Signed-off-by: Saravanan K <saravanank@vmware.com>
Diffstat (limited to 'lib/clippy.c')
0 files changed, 0 insertions, 0 deletions
