From 9d961247f51f6a9a05ad919de25c59f06056ab95 Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Mon, 24 Aug 2020 15:14:44 -0400 Subject: 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 --- pbrd/pbr_nht.h | 1 + 1 file changed, 1 insertion(+) (limited to 'pbrd/pbr_nht.h') diff --git a/pbrd/pbr_nht.h b/pbrd/pbr_nht.h index a1099a00c6..b584863233 100644 --- a/pbrd/pbr_nht.h +++ b/pbrd/pbr_nht.h @@ -53,6 +53,7 @@ struct pbr_nexthop_cache { struct nexthop *nexthop; + bool looked_at; bool valid; }; -- cgit v1.2.3