summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordonNoonan <gordon.noonan@intel.com>2019-12-04 15:16:40 +0000
committerAndrew Yourtchenko <ayourtch@gmail.com>2020-08-12 07:43:14 +0000
commit8ab656321e16cb474836b9f839c799aacf4dbcde (patch)
tree0e409db82fa8cd93675acf6373e179125b904961
parenta750b7f71f0521bb474183058de3e8b0d7efb344 (diff)
vlib: fix startup-config-process stack overflow
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)
-rwxr-xr-xsrc/vlib/unix/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vlib/unix/main.c b/src/vlib/unix/main.c
index c478f60f995..9bfdab1efee 100755
--- a/src/vlib/unix/main.c
+++ b/src/vlib/unix/main.c
@@ -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* */