Skip to content

Commit

Permalink
bfdd: retain remote dplane client socket
Browse files Browse the repository at this point in the history
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 <[email protected]>
(cherry picked from commit f511530)
  • Loading branch information
Mark Stapp authored and mergify[bot] committed Nov 20, 2024
1 parent 60982c4 commit be09cba
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions bfdd/dplane.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit be09cba

Please sign in to comment.