]> git.puffer.fish Git - mirror/frr.git/commit
bgpd: Check the route and the nexthop appropriately when validating NH 15532/head
authorDonatas Abraitis <donatas@opensourcerouting.org>
Tue, 12 Mar 2024 17:48:26 +0000 (19:48 +0200)
committerDonatas Abraitis <donatas@opensourcerouting.org>
Wed, 13 Mar 2024 07:39:22 +0000 (09:39 +0200)
commit778357e9efd8deaa4612587959c9ef94b50ef288
treeb5e8923778be2d55c4159c5445bf7c2f282e328b
parenta3df790eb284de95db2b6a8ea384083c1bfdc5ea
bgpd: Check the route and the nexthop appropriately when validating NH

A route and its nexthop might belong to different VRFs. Therefore, we need
both the bgp and bgp_nexthop pointers.

Fixes: 8d51fafdcbef3dcf06df796e4f9b83d2bbd5edc2 ("bgpd: Drop bgp_static_update_safi() function")
Signed-off-by: Donatas Abraitis <donatas@opensourcerouting.org>
bgpd/bgp_route.c