]> git.proxmox.com Git - mirror_frr.git/commit - bgpd/bgp_nht.h
bgpd: Address LL peer not NHT when receiving connection attempt
authorDonald Sharp <sharpd@nvidia.com>
Mon, 12 Apr 2021 18:16:30 +0000 (14:16 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 15 Apr 2021 17:16:28 +0000 (13:16 -0400)
commit996319e63d97f156ab538107275143a527949a3c
tree8975f5afaf36d815cb19921345d535e88ea77fc9
parent0575d5a8f81b6183e3b12454767869952051eaa8
bgpd: Address LL peer not NHT when receiving connection attempt

The new LL code in:
8761cd6ddb5437767625f58c8e9cc3ccda7887ab

Introduced the idea of the bgp unnumbered peers using interface up/down
events to track the bgp peers nexthop.  This code was not properly
working when a connection was received from a peer in some circumstances.

Effectively the connection from a peer was immediately skipping state transitions
and FRR was never properly tracking the peers nexthop.  When we receive the
connection attempt, let's track the nexthop now.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
bgpd/bgp_fsm.c
bgpd/bgp_fsm.h
bgpd/bgp_network.c
bgpd/bgp_nht.c
bgpd/bgp_nht.h