summaryrefslogtreecommitdiff
path: root/python/firstheader.py
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2022-12-21 12:11:56 -0500
committerMergify <37929162+mergify[bot]@users.noreply.github.com>2022-12-27 20:07:54 +0000
commit2fdad4aef49a2a82f220f19b5bb611d05026fa31 (patch)
tree3398b0c5bf7956aacd2d46ea01f8a8efc93304b5 /python/firstheader.py
parent930d04ad1c6e1980f24805738499df47fc6e9ac8 (diff)
bgpd: static routes are leaked on shutdown
Shutdown of bgp results in both the bgp_path_info, bgp_dest and bgp_table's not being freed because the bgp_path_info remains locked. Effectively static routes are scheduled for deletion but bgp_process skips the work because the work queue sees that the bgp router is marked for deletion. Effectively not doing any work and leaving data on the floor. Modify the code when attempting to put into the work queue to notice and not do so but just unlock the path info. This is effectively the same as what goes on for normal peering as that it checks for shutdown and just calls bgp_path_info_free too. Signed-off-by: Donald Sharp <sharpd@nvidia.com> (cherry picked from commit f9d6087c51fbeafc76f3c7f1b72681cbab7f3651)
Diffstat (limited to 'python/firstheader.py')
0 files changed, 0 insertions, 0 deletions