mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-07 07:48:07 +00:00
Merge pull request #15010 from tlsalmin/master
zebra: Fix crash on macvlan link down/up
This commit is contained in:
commit
20e017c379
@ -5159,6 +5159,15 @@ void zebra_vxlan_macvlan_up(struct interface *ifp)
|
|||||||
return;
|
return;
|
||||||
|
|
||||||
link_ifp = zif->link;
|
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;
|
link_zif = link_ifp->info;
|
||||||
assert(link_zif);
|
assert(link_zif);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user