]> git.proxmox.com Git - mirror_frr.git/commit
pbrd: Set next/prev to NULL on cached nexthops
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 10 Jun 2019 04:36:59 +0000 (00:36 -0400)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 10 Jun 2019 18:36:30 +0000 (14:36 -0400)
commitad9255f8feb75c021ad12a65f4dfa9015abb64e7
tree08ed1aa73a698a02b95d53a7124babcd2d0c76c2
parent82e16a13e5f8da8460486f7eeff57c6235be71e0
pbrd: Set next/prev to NULL on cached nexthops

When we copy a new nexthop to cache and track, set its
next and prev pointers to NULL. We don't want those since
this is to be treated as a single nexthop.Other nexthops that
aren't in a group could hash to this nexthop so it doesn't
make sense to keep those pointers in the cache.

Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
pbrd/pbr_nht.c