From f5115307888dc8ca4b6369d1b705686d3c689d23 Mon Sep 17 00:00:00 2001 From: Mark Stapp Date: Tue, 19 Nov 2024 14:54:06 -0500 Subject: [PATCH] bfdd: retain remote dplane client socket When using bfd in remote-dataplane client mode, don't close a new client socket if we're going to try to use it. Signed-off-by: Mark Stapp --- bfdd/dplane.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bfdd/dplane.c b/bfdd/dplane.c index 7f55f3407302..b1a32fb15059 100644 --- a/bfdd/dplane.c +++ b/bfdd/dplane.c @@ -948,6 +948,9 @@ static void bfd_dplane_client_connect(struct event *t) _bfd_dplane_client_bootstrap(bdc); } + /* Continue with the connection */ + return; + reschedule_connect: EVENT_OFF(bdc->inbufev); EVENT_OFF(bdc->outbufev);