Code Review
/
vpp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
review
|
tree
raw
|
patch
| inline |
side by side
(parent:
dd60b1b
)
vlib: fix cli process stack overflow
70/22570/2
author
Chenmin Sun
<chenmin.sun@intel.com>
Mon, 7 Oct 2019 19:35:20 +0000
(
03:35
+0800)
committer
Dave 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
patch
|
blob
|
history
diff --git
a/src/vlib/unix/cli.c
b/src/vlib/unix/cli.c
index
b3c8faf
..
7291809
100644
(file)
--- a/
src/vlib/unix/cli.c
+++ b/
src/vlib/unix/cli.c
@@
-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 = 1
7
,
+ .process_log2_n_stack_bytes = 1
8
,
};
r.name = name;