]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: bgp_connected_delete needs to ensure dest is still there
authorDonald Sharp <sharpd@nvidia.com>
Sun, 10 Sep 2023 13:22:47 +0000 (09:22 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 11 Sep 2023 16:45:59 +0000 (12:45 -0400)
commit493075d25b1686661b89e2e6bc68cec55ed5054b
tree6a3f0af84a98ab4fd7c75475a25691f4b759887e
parented74c8b5553300f22355d9efa7f0b317174ce71b
bgpd: bgp_connected_delete needs to ensure dest is still there

Again coverity believes that dest could be freed by a call
into bgp_dest_unlock_node, and it can if the lock count
is wrong.  Let's fix that assumption for coverity

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_nexthop.c