mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-07-27 10:04:18 +00:00
Merge pull request #15443 from FRRouting/mergify/bp/stable/9.1/pr-15399
zebra: fix crash when macvlan link-interface is in another netns (backport #15399)
This commit is contained in:
commit
111a9e1ada
@ -5110,6 +5110,11 @@ void zebra_vxlan_macvlan_up(struct interface *ifp)
|
||||
|
||||
zif = ifp->info;
|
||||
assert(zif);
|
||||
|
||||
if (zif->link_nsid)
|
||||
/* the link interface is another namespace */
|
||||
return;
|
||||
|
||||
link_ifp = zif->link;
|
||||
link_zif = link_ifp->info;
|
||||
assert(link_zif);
|
||||
|
Loading…
Reference in New Issue
Block a user