summaryrefslogtreecommitdiff
path: root/lib/workqueue.c
diff options
context:
space:
mode:
authorMark Stapp <mstapp@nvidia.com>2022-02-10 13:29:59 -0500
committerMark Stapp <mstapp@nvidia.com>2022-02-11 17:03:26 -0500
commit348698095d1e1dc9904e13c86ce8492d89558a8d (patch)
treec848def37627fbd81f8304196c948fbc5d1c2dd7 /lib/workqueue.c
parent70d79c359b321337c3791944ef068917b24748b6 (diff)
zebra: make netlink object hash threadsafe
The recently-added hashtable of nlsock objects needs to be thread-safe: it's accessed from the main and dplane pthreads. Add a mutex for it, use wrapper apis when accessing it. Add a per-OS init/terminate api so we can do init that's not per-vrf or per-namespace. Signed-off-by: Mark Stapp <mstapp@nvidia.com>
Diffstat (limited to 'lib/workqueue.c')
0 files changed, 0 insertions, 0 deletions