]> git.puffer.fish Git - matthieu/frr.git/commit
zebra: pass type when finding individual nexthop
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 16 Dec 2019 21:46:30 +0000 (16:46 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Mon, 16 Dec 2019 21:46:30 +0000 (16:46 -0500)
commitb10d6b0744791a9b29c321b851cf734d1e1941de
tree7bf5ac8fe750b6992ecb7eb54a954a814ca28c48
parent84a89a8d2ef6c253c043fd724eec94fc456aab81
zebra: pass type when finding individual nexthop

When we are doing a lookup on an individual nexthop,
we should still be passing along the type that gets passed
via the arguments. Otherwise, we will always think we own that
NHE when in reality anyone could have put that into the
kernel.

Before this patch, nexthops in the kernel will get swepped
out even if we didn't create them.

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