diff options
| -rw-r--r-- | zebra/zebra_vxlan.c | 9 | 
1 files changed, 9 insertions, 0 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index 64eae38fc9..2ffaefd1d5 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -5163,6 +5163,15 @@ void zebra_vxlan_macvlan_up(struct interface *ifp)  		return;  	link_ifp = zif->link; +	if (!link_ifp) { +		if (IS_ZEBRA_DEBUG_VXLAN) +			zlog_debug( +				"macvlan parent link is not found. Parent index %d ifp %s", +				zif->link_ifindex, +				ifindex2ifname(zif->link_ifindex, +					       ifp->vrf->vrf_id)); +		return; +	}  	link_zif = link_ifp->info;  	assert(link_zif);  | 
