]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: Ensure bgp_vrf is non-null
authorDonald Sharp <sharpd@nvidia.com>
Fri, 21 Apr 2023 12:04:06 +0000 (08:04 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Fri, 21 Apr 2023 12:04:06 +0000 (08:04 -0400)
commit332133d19becb6d4e48d730cf47de017f0a4b4f5
tree14c68d19a9df636fddbffc0fccd7d7f7d23811d2
parentbc479b1b17b3f12b487f4164966b35d1ec08fede
bgpd: Ensure bgp_vrf is non-null

If we attempt to get the bgp_vrf and it fails then
ensure that we don't just de-ref and crash.

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