diff options
author | Chenmin Sun <chenmin.sun@intel.com> | 2020-01-14 08:47:22 +0800 |
---|---|---|
committer | Dave Wallace <dwallacelf@gmail.com> | 2020-06-11 18:56:54 +0000 |
commit | aa45bd3f66e5dd47b19aa608052abe6764821eb6 (patch) | |
tree | c4c595d17c9d576e55170509156444a42096ed14 /src/vlibmemory | |
parent | ed42469be2f1ab0ea7b69fe0770c9c1e6f267e18 (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
(cherry picked from commit a488f37559493657b59181c1212e57b3b9cc3689)
Diffstat (limited to 'src/vlibmemory')
-rw-r--r-- | src/vlibmemory/vlib_api.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlibmemory/vlib_api.c b/src/vlibmemory/vlib_api.c index afc2e401cd9..925811f7b88 100644 --- a/src/vlibmemory/vlib_api.c +++ b/src/vlibmemory/vlib_api.c @@ -418,6 +418,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* */ |