diff options
| author | Mark Stapp <mjs.ietf@gmail.com> | 2023-01-10 16:30:26 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-01-10 16:30:26 -0500 |
| commit | f931e35b59b6066b64006d6314cbf36a02954061 (patch) | |
| tree | e5f6036385c966a7801e90fbb610cd51fa485a76 | |
| parent | 8475c2d62be8a1273720772ec01ed2ed6f1ce11c (diff) | |
| parent | c0275ab189d619c2f688a383e5e83183f02eaf6f (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.c | 5 |
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: |
