]> git.puffer.fish Git - matthieu/frr.git/commit
pimd: SGRpt prune received during prune didn't override holdtime
authorsaravanank <saravanank@vmware.com>
Thu, 19 Mar 2020 10:33:41 +0000 (03:33 -0700)
committerMobashshera Rasool <mrasool@vmware.com>
Thu, 28 Jan 2021 07:14:48 +0000 (07:14 +0000)
commitd0c866d0d877c026037696810b4fd0cf2bedcb74
tree08d4f57343be43012a98bd00d6a5a921ea7e2da8
parent776a2f86665ac385487228fa9d824106795414dc
pimd: SGRpt prune received during prune didn't override holdtime

RCA: There were 2 problems.
1. SGRpt prune expiry didn't create S,G entry with none oil when no other
interfaces were part of the oil.
2. When restarting the timer with new hold value, comparision was missing and
old timer was not stopping.

Fix:
SGRpt Prune pending expiry will put SG entry with none oil if no other

Signed-off-by: Saravanan K <saravanank@vmware.com>
interfaces present. If present we will be deleting the inherited oif from oil.
Deleting the oif in that scenario will take care of changing mroute.
When alone interface expires in SGRpt prune pending state, we shall detect by
checking installed flag. if not installed, install mroute.
pimd/pim_ifchannel.c