aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAloys Augustin <aloaugus@cisco.com>2019-09-16 13:37:48 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2019-09-30 15:25:52 +0000
commit3d7e4723098d10d4e64e07de2f5d5c1ac930e734 (patch)
tree7a8c0dfd5fd4764f5f0c5bd03c5258c417a865e5
parentfaf5195e3a4c9831775e812d922a660fc48c9fdd (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 (cherry picked from commit 735d2e202b6d68059049a233b0a870ec3713564d)
-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 86bf6514ffe..f05388ce8b1 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;