vlib: fix startup-config-process stack overflow 53/28253/1
authorGordonNoonan <gordon.noonan@intel.com>
Wed, 4 Dec 2019 15:16:40 +0000 (15:16 +0000)
committerAndrew Yourtchenko <ayourtch@gmail.com>
Wed, 12 Aug 2020 07:43:14 +0000 (07:43 +0000)
Type: fix

Startup config setting an i40e/ice interface
up in Debug VPP consumes more than the currently
available stack space.

Signed-off-by: GordonNoonan <gordon.noonan@intel.com>
Change-Id: I98b52c5596799017b97f802a8661b76cd1bb3245
(cherry picked from commit b2dbb36fc265b8996fc7fa310dda447d5b0479cb)

src/vlib/unix/main.c

index c478f60..9bfdab1 100755 (executable)
@@ -372,6 +372,7 @@ VLIB_REGISTER_NODE (startup_config_node,static) = {
     .function = startup_config_process,
     .type = VLIB_NODE_TYPE_PROCESS,
     .name = "startup-config-process",
+    .process_log2_n_stack_bytes = 18,
 };
 /* *INDENT-ON* */