]> git.puffer.fish Git - matthieu/frr.git/commit
ldpd: use a timer instead of sleeping in LM init
authorMark Stapp <mjs@voltanet.io>
Wed, 22 Apr 2020 15:39:50 +0000 (11:39 -0400)
committerMark Stapp <mjs@voltanet.io>
Thu, 23 Apr 2020 14:17:34 +0000 (10:17 -0400)
commit9d694b0b01c056378e0e9e9f358dea28b44f11e8
tree157856706b8101013841d440b31440fa65d2e841
parent0f90b81558b1d37ecd960e487632492fe5f84896
ldpd: use a timer instead of sleeping in LM init

Stop sleeping if synchronous label-manager zapi session
has trouble during init: retry using a timer instead. Move
initial label-block request to a point where the LM zapi
session is known to be running. Remove the use of the
daemon 'instance' - we're using the session_id to distinguish
the LM zapi session.

Signed-off-by: Mark Stapp <mjs@voltanet.io>
ldpd/lde.c
ldpd/ldpd.c