vlib: fix startup-config-process stack overflow 94/23794/2
authorGordonNoonan <gordon.noonan@intel.com>
Wed, 4 Dec 2019 15:16:40 +0000 (15:16 +0000)
committerDamjan Marion <dmarion@me.com>
Tue, 17 Dec 2019 18:14:55 +0000 (18:14 +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

src/vlib/unix/main.c

index f306b2e..08e5937 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* */