diff options
| author | Mark Stapp <mjs@cisco.com> | 2024-11-19 14:54:06 -0500 |
|---|---|---|
| committer | Mergify <37929162+mergify[bot]@users.noreply.github.com> | 2024-11-20 19:06:18 +0000 |
| commit | b71fd2f68ffc0bc4b09b49415004913d6904b4fe (patch) | |
| tree | b1f9d043e8b9eed982b1a851679c9919bd470239 | |
| parent | 0994cb293e194336f9efea9976f4140e28edac47 (diff) | |
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 <mjs@cisco.com>
(cherry picked from commit f5115307888dc8ca4b6369d1b705686d3c689d23)
| -rw-r--r-- | bfdd/dplane.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/bfdd/dplane.c b/bfdd/dplane.c index d8539812e0..b898f23043 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); |
