summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChenmin Sun <chenmin.sun@intel.com>2019-10-08 03:35:20 +0800
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-10-27 09:58:59 +0000
commitfe9613631ced5f6967f113e8dc5637a319154e0a (patch)
tree164a2fa854b15c98bbae8d0109ee3c02bd9ccd2d
parentfded97083be9994dfb82a83ca7799b1e63f9af4d (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 (cherry picked from commit 2fd44a00aa26188ca75f0accd734f21758c199bf)
-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 f05388ce8b1..1a7d2d56300 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;