]> git.puffer.fish Git - mirror/frr.git/commit
zebra: Fix netlink RTM_NEWNEXTHOP parsing for nested attributes
authorDonald Sharp <sharpd@nvidia.com>
Thu, 28 Oct 2021 12:10:28 +0000 (08:10 -0400)
committerDonald Sharp <sharpd@nvidia.com>
Thu, 28 Oct 2021 12:10:28 +0000 (08:10 -0400)
commit6e1e2e8da971bbdc1d4dc79012a81282f92dde00
tree2708ffedb1091f79abb7dfb4aeeb3a295fcd424f
parent68275b093b472cf60c679566b87ab27809841f9e
zebra: Fix netlink RTM_NEWNEXTHOP parsing for nested attributes

With the addition of resillient hashing for nexthops, the
parsing of nexthops requires telling the decoder functions
that there may be nested attributes.  This was found by
code inspection of iproute2/ipnexthop.c when trying to
understand resillient hashing as well as statistics
gathering for nexthops that are / will be in upstream
kernels in the near future.

Signed-off-by: Donald Sharp <sharpd@nvidia.com>
zebra/debug_nl.c
zebra/rt_netlink.c