acl-plugin: split the "show" commands and add an option to show ACLs by interface
[vpp.git] / src / vpp-api / vapi / vapi.c
index 59415e0..25c0b3b 100644 (file)
@@ -26,6 +26,8 @@
 #include <vpp-api/vapi/vapi.h>
 #include <vpp-api/vapi/vapi_internal.h>
 #include <vppinfra/types.h>
+#include <vppinfra/pool.h>
+#include <vlib/vlib.h>
 #include <vlibapi/api_common.h>
 #include <vlibmemory/api_common.h>
 
@@ -305,6 +307,7 @@ vapi_connect (vapi_ctx_t ctx, const char *name,
     }
   ctx->requests = tmp;
   memset (ctx->requests, 0, size);
+  /* coverity[MISSING_LOCK] - 177211 requests_mutex is not needed here */
   ctx->requests_start = ctx->requests_count = 0;
   if (chroot_prefix)
     {