]> git.puffer.fish Git - mirror/frr.git/commit
ospf6d: fix LSA locking in ospf6_new_ls_id()
authorTom Goff <thomas.goff@boeing.com>
Tue, 1 Dec 2009 18:12:38 +0000 (21:12 +0300)
committerDenis Ovsienko <infrastation@yandex.ru>
Tue, 1 Dec 2009 18:12:38 +0000 (21:12 +0300)
commit16c1c4872b29bb22c0ff77bd1ef1018c63ca25fa
tree06813f6d1b703649757f3eedf829e7afddfe5c42
parent9964fcfc2282c8f3468b3b7355c5dea3089f0f14
ospf6d: fix LSA locking in ospf6_new_ls_id()

* ospf6_lsdb.c: (ospf6_new_ls_id) Unlock the current LSA when breaking
out of the ospf6_lsdb_*_head() / ospf6_lsdb_*_next() loop early. No
explicit unlocking is needed when all LSAs are looped through
because ospf6_lsdb_*_next() manages everything in that case.
ospf6d/ospf6_lsdb.c