]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Ensure that leak_update does not free memory before it is being used
authorDonald Sharp <sharpd@nvidia.com>
Sun, 10 Sep 2023 13:56:53 +0000 (09:56 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Mon, 11 Sep 2023 16:45:59 +0000 (12:45 -0400)
commit53a95715355a0ae6a8d6c681b57581ebc29c2121
tree8264bad8beb734e5f68f0a7b35c67a9d331223ea
parentecb846048238b2e7442331af9aebdbfeb0ab37a0
bgpd: Ensure that leak_update does not free memory before it is being used

The unlock may cause the bgp_process to use dest.  Ensure that this
does not happen.

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