diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-12 14:55:15 -0500 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-02-12 19:22:30 -0500 |
| commit | 38e9ccde2f8edd6946d48c80967027d05e64d73f (patch) | |
| tree | f5760f72c410ef0bfb60a1138e6ba769ebfc4145 /pbrd/pbr_map.h | |
| parent | 6eb499b0315eea9df04908dea3ef58973f43b9b3 (diff) | |
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>
Diffstat (limited to 'pbrd/pbr_map.h')
| -rw-r--r-- | pbrd/pbr_map.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h index 7cd079d169..945f76bb2b 100644 --- a/pbrd/pbr_map.h +++ b/pbrd/pbr_map.h @@ -147,6 +147,8 @@ extern void pbr_map_delete_nexthop_group(struct pbr_map_sequence *pbrms); extern void pbr_map_add_interface(struct pbr_map *pbrm, struct interface *ifp); extern void pbr_map_interface_delete(struct pbr_map *pbrm, struct interface *ifp); +extern void pbr_map_final_interface_deletion(struct pbr_map *pbrm, + struct pbr_map_interface *pmi); extern void pbr_map_write_interfaces(struct vty *vty, struct interface *ifp); extern void pbr_map_init(void); |
