]> git.proxmox.com Git - mirror_frr.git/commit - zebra/zebra_rib.c
zebra: use workqueue for daemon-owned NHGs
authorMark Stapp <mjs@voltanet.io>
Thu, 15 Apr 2021 18:20:39 +0000 (14:20 -0400)
committerMark Stapp <mjs@voltanet.io>
Thu, 15 Apr 2021 18:20:39 +0000 (14:20 -0400)
commit04bec7b217df8cc823f0e5717c7db922f2905c3a
tree0e73fbcec9f1d6ef12b2cf62198e3100f9c02fbc
parent90b0718e0766492d64fc505a470d8c2e304bc0b2
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>
zebra/rib.h
zebra/zapi_msg.c
zebra/zebra_nhg.c
zebra/zebra_nhg.h
zebra/zebra_rib.c