summaryrefslogtreecommitdiff
path: root/lib/csv.h
diff options
context:
space:
mode:
authorPooja Jagadeesh Doijode <pdoijode@nvidia.com>2023-08-16 15:27:38 -0700
committerPooja Jagadeesh Doijode <pdoijode@nvidia.com>2023-08-16 15:27:38 -0700
commite06293c395f7eb33927b29ceaae33b703058d242 (patch)
tree9009b7a95c882eee9f9561f6ac3ff5b8416ee2a7 /lib/csv.h
parentbd6a00e8f7ab48e6ab20673474c6eb1e879cb5c4 (diff)
bgpd: Set ifindex to find the correct nexthop
Problem: On GR helper, paths learnt from an interface based peer were linked to bnc with ifindex=0. During restart of GR peer, BGP (unnumbered) session (with GR restarter peer) goes down on GR helper but the routes are retained. Later, when BGP receives an interface up event, it will process all the paths associated with BNC whose ifindex matches the ifindex of the interface for which UP event is received. However, paths associated with bnc that has ifindex=0 were not being reinstalled since ifindex=0 doesn't match ifindex of any interfaces. This results in BGP routes not being reinstalled in zebra and kernel. Fix: For paths learnt from an interface based peer, set the ifindex to peer's interface ifindex so that correct peer based nexthop can be found and linked to the path. Signed-off-by: Donald Sharp sharpd@nvidia.com Signed-off-by: Pooja Jagadeesh Doijode <pdoijode@nvidia.com>
Diffstat (limited to 'lib/csv.h')
0 files changed, 0 insertions, 0 deletions