]> git.puffer.fish Git - matthieu/frr.git/commit
ospf6d: fix lock leak of using ALL_LSDB in GR helper
authoranlan_cs <anlan_cs@tom.com>
Sun, 22 Aug 2021 09:04:04 +0000 (05:04 -0400)
committeranlan_cs <anlan_cs@tom.com>
Sun, 22 Aug 2021 09:26:20 +0000 (05:26 -0400)
commit37692712a531a1810a3cfd04f2a40d4b55c3e237
tree384cdfc85758d5003f72cc40d09a96cb17e3670a
parentfc69721913733a2644f1a3a34d6a8dc265734472
ospf6d: fix lock leak of using ALL_LSDB in GR helper

The lsa and lsanext must be unlocked if break out of ALL_LSDB loop.

Incidentally correct the comment of ALL_LSDB.

Signed-off-by: anlan_cs <anlan_cs@tom.com>
ospf6d/ospf6_gr_helper.c
ospf6d/ospf6_lsdb.h