diff options
| author | Mark Stapp <mjs@voltanet.io> | 2021-04-15 14:20:39 -0400 | 
|---|---|---|
| committer | Mark Stapp <mjs@voltanet.io> | 2021-04-15 14:20:39 -0400 | 
| commit | 04bec7b217df8cc823f0e5717c7db922f2905c3a (patch) | |
| tree | 0e73fbcec9f1d6ef12b2cf62198e3100f9c02fbc /zebra/zebra_nhg.h | |
| parent | 90b0718e0766492d64fc505a470d8c2e304bc0b2 (diff) | |
zebra: use workqueue for daemon-owned NHGs
Use the main zebra workqueue for daemon-owned NHGs, in addition
to processing kernel-owned NHGs. The zapi message processing
creates a temporary object that's enqueued to the workqueue,
then processed/installed as part of the workqueue processing.
Signed-off-by: Mark Stapp <mjs@voltanet.io>
Diffstat (limited to 'zebra/zebra_nhg.h')
| -rw-r--r-- | zebra/zebra_nhg.h | 1 | 
1 files changed, 1 insertions, 0 deletions
diff --git a/zebra/zebra_nhg.h b/zebra/zebra_nhg.h index 38015bf557..20da20264d 100644 --- a/zebra/zebra_nhg.h +++ b/zebra/zebra_nhg.h @@ -269,6 +269,7 @@ extern bool zebra_nhg_hash_id_equal(const void *arg1, const void *arg2);   * the rib meta queue.   */  extern int nhg_ctx_process(struct nhg_ctx *ctx); +void nhg_ctx_free(struct nhg_ctx **ctx);  /* Find via kernel nh creation */  extern int zebra_nhg_kernel_find(uint32_t id, struct nexthop *nh,  | 
