summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-09-16 13:37:48 +0000
committerDave Barach <openvpp@barachs.net>2019-09-17 11:52:51 +0000
commit735d2e202b6d68059049a233b0a870ec3713564d (patch)
treea4ab47f299039650d7b06d22efb9d86ed66c3663
parent1dbda64b467f020db131cb9a01422b8f3fbf58df (diff)
vlib: fix cli process stack overflow
Some cli processes, including bringing up an i40e interface with dpdk, consume more than the currently available stack space. Type: fix Fixes: VPP-1774 Signed-off-by: Aloys Augustin <aloaugus@cisco.com> Change-Id: I86ceb9e6e07523d5e0f760b5922467f09a8d4006
-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 640d5bc69c3..b3c8fafa41f 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 = 16,
+ .process_log2_n_stack_bytes = 17,
};
r.name = name;