vlib: fix cli process stack overflow 74/22074/3
authorAloys Augustin <aloaugus@cisco.com>
Mon, 16 Sep 2019 13:37:48 +0000 (13:37 +0000)
committerDave Barach <openvpp@barachs.net>
Tue, 17 Sep 2019 11:52:51 +0000 (11:52 +0000)
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

src/vlib/unix/cli.c

index 640d5bc..b3c8faf 100644 (file)
@@ -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;