diff options
author | anuradhak <anuradhak@cumulusnetworks.com> | 2016-12-02 06:01:34 +0100 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:18 +0100 |
commit | 36e466fe98abf3537e641bc31e9f5cfa06c0fc64 (patch) | |
tree | 81b9814c59b4da7c2995bbc30a1554fb95ad6f80 /pimd/pim_msdp.h | |
parent | pimd: Fix so creation of prefix happens one time (diff) | |
download | frr-36e466fe98abf3537e641bc31e9f5cfa06c0fc64.tar.xz frr-36e466fe98abf3537e641bc31e9f5cfa06c0fc64.zip |
pimd: Drop local SA reference when the upstream SG is deleted
This is done irrespective of the reason for del and is intended as a
catchall for cases (unclear which ones) where the RP can drop the SG
without KAT expiry.
Signed-off-by: Anuradha Karuppiah <anuradhak@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_msdp.h')
-rw-r--r-- | pimd/pim_msdp.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_msdp.h b/pimd/pim_msdp.h index 80d928a05..33c1d88a4 100644 --- a/pimd/pim_msdp.h +++ b/pimd/pim_msdp.h @@ -69,8 +69,9 @@ enum pim_msdp_sa_flags { * checks) */ PIM_MSDP_SAF_PEER = (1 << 1), PIM_MSDP_SAF_REF = (PIM_MSDP_SAF_LOCAL | PIM_MSDP_SAF_PEER), - PIM_MSDP_SAF_STALE = (1 << 2) /* local entries can get kicked out on + PIM_MSDP_SAF_STALE = (1 << 2), /* local entries can get kicked out on * misc pim events such as RP change */ + PIM_MSDP_SAF_UP_DEL_IN_PROG = (1 << 3) }; struct pim_msdp_sa { @@ -223,7 +224,7 @@ void pim_msdp_sa_local_del(struct prefix_sg *sg); void pim_msdp_i_am_rp_changed(void); bool pim_msdp_peer_rpf_check(struct pim_msdp_peer *mp, struct in_addr rp); void pim_msdp_up_join_state_changed(struct pim_upstream *xg_up); -void pim_msdp_up_xg_del(struct prefix_sg *sg); +void pim_msdp_up_del(struct prefix_sg *sg); enum pim_msdp_err pim_msdp_mg_mbr_add(const char *mesh_group_name, struct in_addr mbr_ip); enum pim_msdp_err pim_msdp_mg_mbr_del(const char *mesh_group_name, struct in_addr mbr_ip); enum pim_msdp_err pim_msdp_mg_src_del(const char *mesh_group_name); |