summaryrefslogtreecommitdiffstats
path: root/pimd/pim_iface.c
diff options
context:
space:
mode:
authorStephen Worley <sworley@cumulusnetworks.com>2019-10-10 01:35:46 +0200
committerStephen Worley <sworley@cumulusnetworks.com>2019-10-10 02:09:49 +0200
commit9685b1e414118391825ad56faa8879d279eebeb6 (patch)
tree88c36e39fa477288b15ac71b758785c6ed9293bc /pimd/pim_iface.c
parentlib: Use correct if compare function in tree proto (diff)
downloadfrr-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