diff options
author | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-10 01:35:46 +0200 |
---|---|---|
committer | Stephen Worley <sworley@cumulusnetworks.com> | 2019-10-10 02:09:49 +0200 |
commit | 9685b1e414118391825ad56faa8879d279eebeb6 (patch) | |
tree | 88c36e39fa477288b15ac71b758785c6ed9293bc /pimd/pim_iface.c | |
parent | lib: Use correct if compare function in tree proto (diff) | |
download | frr-9685b1e414118391825ad56faa8879d279eebeb6.tar.xz frr-9685b1e414118391825ad56faa8879d279eebeb6.zip |
lib: Don't add/del from name tree if name isnt set
If the name has not been set yet (we were only passed the
ifindex in some cases like with master/slave timings) then
do not add/del it from the ifname rb tree on the vrf struct.
Doing so causes duplicate entries on the tree and infinte loops
can happen when iterating over it.
Signed-off-by: Stephen Worley <sworley@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_iface.c')
0 files changed, 0 insertions, 0 deletions