summaryrefslogtreecommitdiffstats
path: root/src/vlibmemory/vlib_api.c
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2020-01-14 08:47:22 +0800
committerDave Barach <openvpp@barachs.net>2020-02-05 15:24:57 +0000
commita488f37559493657b59181c1212e57b3b9cc3689 (patch)
treed820493ec1f80f6d57a36e5eff4a1c4ee61e9ba7 /src/vlibmemory/vlib_api.c
parent90430b6e057ecd1ce4f8200a68d4142ebafcb3ec (diff)
api: fix vl_api_clnt_node process stack overflow
Type: fix Some simple settings(e.g. bringing up an i40e/ice interface) through vnat consume more than the currently available stack space. This root cause of this issue is same with commit b2dbb36fc265b8996fc7fa310dda447d5b0479cb "vlib: fix startup-config \ -process stack overflow" and commit 2fd44a00aa26188ca75f0accd734f2 \ 1758c199bf "vlib: fix cli process stack overflow" Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I312e4fed96a679aa68b859e28a90a2a4b6eb0c6e
Diffstat (limited to 'src/vlibmemory/vlib_api.c')
-rw-r--r--src/vlibmemory/vlib_api.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlibmemory/vlib_api.c b/src/vlibmemory/vlib_api.c
index 297ac37e334..582016852a7 100644
--- a/src/vlibmemory/vlib_api.c
+++ b/src/vlibmemory/vlib_api.c
@@ -425,6 +425,7 @@ VLIB_REGISTER_NODE (vl_api_clnt_node) =
.type = VLIB_NODE_TYPE_PROCESS,
.name = "api-rx-from-ring",
.state = VLIB_NODE_STATE_DISABLED,
+ .process_log2_n_stack_bytes = 18,
};
/* *INDENT-ON* */