summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2019-10-08 03:35:20 +0800
committerDave Barach <openvpp@barachs.net>2019-10-08 21:16:54 +0000
commit2fd44a00aa26188ca75f0accd734f21758c199bf (patch)
tree087712320103dc4f2ede6a8493c9a26fe59cdd69
parentdd60b1b128d8d6c07dc8b8bcbf932b808cedbaab (diff)
vlib: fix cli process stack overflow
Type: fix Some cli processes, including configuring an test flow on an i40e interface consume more than the currently available stack space. Signed-off-by: Chenmin Sun <chenmin.sun@intel.com> Change-Id: I3df53d251cd43286f94647384d6e50a463bad15c
-rw-r--r--src/vlib/unix/cli.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/unix/cli.c b/src/vlib/unix/cli.c
index b3c8fafa41f..729180994a5 100644
--- a/src/vlib/unix/cli.c
+++ b/src/vlib/unix/cli.c
@@ -2864,7 +2864,7 @@ unix_cli_file_add (unix_cli_main_t * cm, char *name, int fd)
static vlib_node_registration_t r = {
.function = unix_cli_process,
.type = VLIB_NODE_TYPE_PROCESS,
- .process_log2_n_stack_bytes = 17,
+ .process_log2_n_stack_bytes = 18,
};
r.name = name;