mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-04 00:59:13 +00:00
Merge pull request #15350 from FRRouting/mergify/bp/stable/9.1/pr-15316
nhrp: fix race condition in null lladdr from zebra (backport #15316)
This commit is contained in:
commit
fde18a006f
@ -184,6 +184,11 @@ int nhrp_neighbor_operation(ZAPI_CALLBACK_ARGS)
|
||||
"Netlink: update binding for %pSU dev %s from c %pSU peer.vc.nbma %pSU to lladdr %pSU",
|
||||
&addr, ifp->name, &c->cur.remote_nbma_natoa,
|
||||
&c->cur.peer->vc->remote.nbma, &lladdr);
|
||||
|
||||
if (lladdr.sa.sa_family == AF_UNSPEC)
|
||||
/* nothing from zebra, so use nhrp peer */
|
||||
lladdr = c->cur.peer->vc->remote.nbma;
|
||||
|
||||
/* In case of shortcuts, nbma is given by lladdr, not
|
||||
* vc->remote.nbma.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user