From c7666ae7a18f28c42b18b5c185c1bbc7ec89f5ce Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Thu, 10 Oct 2019 09:07:21 +0200 Subject: [PATCH] bfdd: upon vrf disable, unlink bfd session with vrf bfd session has a vrf pointer that needs to be reset, when vrf is disabled. Signed-off-by: Philippe Guibert --- bfdd/bfd.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bfdd/bfd.c b/bfdd/bfd.c index b884cd03da..0ff638350b 100644 --- a/bfdd/bfd.c +++ b/bfdd/bfd.c @@ -216,6 +216,7 @@ void bfd_session_disable(struct bfd_session *bs) bfd_echo_recvtimer_delete(bs); bfd_xmttimer_delete(bs); bfd_echo_xmttimer_delete(bs); + bs->vrf = NULL; } static uint32_t ptm_bfd_gen_ID(void)