vlib: fix cli process stack overflow 06/22906/2
authorChenmin Sun <chenmin.sun@intel.com>
Mon, 7 Oct 2019 19:35:20 +0000 (03:35 +0800)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Sun, 27 Oct 2019 09:58:59 +0000 (09:58 +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
(cherry picked from commit 2fd44a00aa26188ca75f0accd734f21758c199bf)

src/vlib/unix/cli.c

index f05388c..1a7d2d5 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;