Skip to content

Commit

Permalink
Merge pull request FRRouting#14941 from FRRouting/mergify/bp/stable/9…
Browse files Browse the repository at this point in the history
….1/pr-14940

bgpd: check bgp evpn instance presence in soo (backport FRRouting#14940)
  • Loading branch information
ton31337 authored Dec 5, 2023
2 parents 0e022f3 + 5f720cf commit a8defd3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bgpd/bgp_evpn.c
Original file line number Diff line number Diff line change
Expand Up @@ -3628,7 +3628,7 @@ static bool bgp_evpn_route_matches_macvrf_soo(struct bgp_path_info *pi,
struct ecommunity *macvrf_soo;
bool ret = false;

if (!bgp_evpn->evpn_info)
if (!bgp_evpn || !bgp_evpn->evpn_info)
return false;

/* We only stamp the mac-vrf soo on routes from our local L2VNI.
Expand Down

0 comments on commit a8defd3

Please sign in to comment.