summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Stapp <mjs.ietf@gmail.com>2023-01-10 16:30:26 -0500
committerGitHub <noreply@github.com>2023-01-10 16:30:26 -0500
commitf931e35b59b6066b64006d6314cbf36a02954061 (patch)
treee5f6036385c966a7801e90fbb610cd51fa485a76
parent8475c2d62be8a1273720772ec01ed2ed6f1ce11c (diff)
parentc0275ab189d619c2f688a383e5e83183f02eaf6f (diff)
Merge pull request #12620 from donaldsharp/continue_reading
zebra: Continue fpm_read when we decide a netlink message is not needed
-rw-r--r--zebra/dplane_fpm_nl.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/zebra/dplane_fpm_nl.c b/zebra/dplane_fpm_nl.c
index 8550d7e304..af75ddf742 100644
--- a/zebra/dplane_fpm_nl.c
+++ b/zebra/dplane_fpm_nl.c
@@ -604,7 +604,10 @@ static void fpm_read(struct thread *t)
hdr, 0, false, ctx) != 1) {
dplane_ctx_fini(&ctx);
stream_pulldown(fnc->ibuf);
- return;
+ /*
+ * Let's continue to read other messages
+ * Even if we ignore this one.
+ */
}
break;
default: