mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 02:46:26 +00:00
Merge pull request #13069 from FRRouting/mergify/bp/stable/8.5/pr-13061
lib: on bfd peer shutdown actually stop event (backport #13061)
This commit is contained in:
commit
86be025eab
@ -547,13 +547,13 @@ static void _bfd_sess_send(struct thread *t)
|
||||
|
||||
static void _bfd_sess_remove(struct bfd_session_params *bsp)
|
||||
{
|
||||
/* Cancel any pending installation request. */
|
||||
THREAD_OFF(bsp->installev);
|
||||
|
||||
/* Not installed, nothing to do. */
|
||||
if (!bsp->installed)
|
||||
return;
|
||||
|
||||
/* Cancel any pending installation request. */
|
||||
THREAD_OFF(bsp->installev);
|
||||
|
||||
/* Send request to remove any session. */
|
||||
bsp->lastev = BSE_UNINSTALL;
|
||||
thread_execute(bsglobal.tm, _bfd_sess_send, bsp, 0);
|
||||
|
Loading…
Reference in New Issue
Block a user