summaryrefslogtreecommitdiff
path: root/pceplib/pcep_session_logic_counters.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2023-06-08 12:03:49 -0400
committerDonald Sharp <sharpd@nvidia.com>2023-06-08 12:03:49 -0400
commit977d7e24fff4e0eef4426bbcc32e491a60815b89 (patch)
tree2a33d3bc53c67ef87929de93f6e865fa35e87dbe /pceplib/pcep_session_logic_counters.c
parent99bd15405cbd83aea2c8f71eebeeba11f8be0ec4 (diff)
zebra: Prevent crash because nl is NULL on shutdown
When shutting down the main pthread was first closing the sockets associated with the dplane pthread and then telling it to shutdown the pthread at a later point in time. This caused the dplane to crash because the nl data has been freed already. Change the shutdown order to stop the dplane pthread *and* then close the sockets. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pceplib/pcep_session_logic_counters.c')
0 files changed, 0 insertions, 0 deletions