From c7740929f8dc933ce14369698b6bbf560563e3d8 Mon Sep 17 00:00:00 2001 From: Fabio Streun Date: Tue, 17 Sep 2024 20:04:32 +0000 Subject: [PATCH] fix lock handling --- src/keymanager.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/keymanager.c b/src/keymanager.c index ea167f7..188dae4 100644 --- a/src/keymanager.c +++ b/src/keymanager.c @@ -554,7 +554,7 @@ handle_dict_stats(const char *cmd __rte_unused, const char *params __rte_unused, rte_tel_data_add_dict_uint(d, "entries_max", rte_hash_max_key_id(tel_ctx->dict)); - rte_spinlock_lock(&tel_ctx->management_lock); + rte_spinlock_unlock(&tel_ctx->management_lock); return 0; }