]> git.proxmox.com Git - mirror_frr.git/commit - pbrd/pbr_map.c
pbrd: Do not delete pmi until completion of rule delete.
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 12 Feb 2019 19:55:15 +0000 (14:55 -0500)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Wed, 13 Feb 2019 00:22:30 +0000 (19:22 -0500)
commit38e9ccde2f8edd6946d48c80967027d05e64d73f
treef5760f72c410ef0bfb60a1138e6ba769ebfc4145
parent6eb499b0315eea9df04908dea3ef58973f43b9b3
pbrd: Do not delete pmi until completion of rule delete.

When we have a pbr-policy applied to an interface and the
rule is installed and then deleted, we would not properly
clean up the bit field for the pmi as well as not note
the rule as properly deleted.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
pbrd/pbr_map.c
pbrd/pbr_map.h
pbrd/pbr_zebra.c