]> git.puffer.fish Git - mirror/frr.git/commit
*: Allow 16 bit size for nexthops 17023/head
authorDonald Sharp <sharpd@nvidia.com>
Mon, 7 Oct 2024 16:40:46 +0000 (12:40 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Tue, 8 Oct 2024 13:26:57 +0000 (09:26 -0400)
commit9f8968fc5ae700a95867010bc69a51319027bd71
treee159ddde07cbe9fadeeb44e2a51481893a6089ac
parent382e4e93384f2509e04755684a62c88169f45a51
*: Allow 16 bit size for nexthops

Currently FRR is limiting the nexthop count to a uint8_t not a
uint16_t.  This leads to issues when the nexthop count is 256
which results in the count to overflow to 0 causing problems
in the code.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
12 files changed:
bgpd/bgp_addpath.c
bgpd/bgp_addpath.h
bgpd/bgp_nexthop.h
bgpd/bgp_nht.c
pimd/pim_nht.c
pimd/pim_nht.h
zebra/rt_netlink.c
zebra/zapi_msg.c
zebra/zebra_dplane.c
zebra/zebra_dplane.h
zebra/zebra_nhg.c
zebra/zebra_nhg.h