]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: bgp_cleanup_routes ensure dest is not freed
authorDonald Sharp <sharpd@nvidia.com>
Sun, 10 Sep 2023 13:20:48 +0000 (09:20 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 11 Sep 2023 16:45:59 +0000 (12:45 -0400)
commited74c8b5553300f22355d9efa7f0b317174ce71b
tree9b86c8265d421563b787a11114cc9cea347dfe0e
parent35f352c457488d9ae49dc5e1d1ea59c46b56c3a4
bgpd: bgp_cleanup_routes ensure dest is not freed

The bgp_cleanup_routes function holds the lock for dest
while walking it.  Ensure that coverity understands this
proposition.

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