vlib: fix cli process stack overflow 70/22570/2
authorChenmin Sun <chenmin.sun@intel.com>
Mon, 7 Oct 2019 19:35:20 +0000 (03:35 +0800)
committerDave Barach <openvpp@barachs.net>
Tue, 8 Oct 2019 21:16:54 +0000 (21:16 +0000)
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

src/vlib/unix/cli.c

index b3c8faf..7291809 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 = 17,
+       .process_log2_n_stack_bytes = 18,
       };
 
       r.name = name;