]> git.proxmox.com Git - mirror_frr.git/commit - pbrd/pbr_zebra.c
pbrd: don't set rule removed on fail
authorStephen Worley <sworley@cumulusnetworks.com>
Mon, 25 Nov 2019 05:45:24 +0000 (00:45 -0500)
committerStephen Worley <sworley@cumulusnetworks.com>
Tue, 3 Dec 2019 20:56:00 +0000 (15:56 -0500)
commitfde8af8d0b5634883393922079c3a688dcec9dd5
treed0fcee082f0c2823482802f9db023b38584b48c1
parente25ca4514f851658347ec8f91da4ac15fefe1595
pbrd: don't set rule removed on fail

Don't treat a remove failure as a successful remove.

This can cause us to get out of sync with the kernel.
Pbrd makes decisions on rule handling based on its installed
state so this needs to be as close to accurate as possible.

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