]> git.puffer.fish Git - mirror/frr.git/commit
pbrd: When multiple items share the pnhc do the right thing
authorDonald Sharp <sharpd@cumulusnetworks.com>
Mon, 24 Aug 2020 19:14:44 +0000 (15:14 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Fri, 28 Aug 2020 11:51:06 +0000 (07:51 -0400)
commit9d961247f51f6a9a05ad919de25c59f06056ab95
treec076f6a8f5fff1379584a958b5ba0a9638bf5b32
parente7ff02539c22d6fde61844640bc1659e8588c09b
pbrd: When multiple items share the pnhc do the right thing

We had multiple pnhc cache entries with the same nexthop
pointer.  This causes some large amount of confusion.
Fixup the code to handle this situation better.

Ticket: CM-31044
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pbrd/pbr_map.c
pbrd/pbr_nht.c
pbrd/pbr_nht.h