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:
1fb5ffc
)
vlib: fix typo in ASAN stack size calculation
73/43373/2
author
Vladimir Zhigulin
<
[email protected]
>
Fri, 4 Jul 2025 09:10:44 +0000
(11:10 +0200)
committer
Benoit Ganne
<
[email protected]
>
Mon, 28 Jul 2025 15:32:51 +0000
(15:32 +0000)
Type: fix
Change-Id: I771ca783854f704fc333a6dd857831ffe5d70bd3
Signed-off-by: Vladimir Zhigulin <
[email protected]
>
src/vlib/node_funcs.h
patch
|
blob
|
history
diff --git
a/src/vlib/node_funcs.h
b/src/vlib/node_funcs.h
index
17677ee
..
a509691
100644
(file)
--- a/
src/vlib/node_funcs.h
+++ b/
src/vlib/node_funcs.h
@@
-59,7
+59,7
@@
vlib_process_start_switch_stack (vlib_main_t * vm, vlib_process_t * p)
#ifdef CLIB_SANITIZE_ADDR
void *stack = p ? (void *) p->stack : vlib_thread_stacks[vm->thread_index];
u32 stack_bytes =
- p ? (1ULL < p->log2_n_stack_bytes) : VLIB_THREAD_STACK_SIZE;
+ p ? (1ULL <
<
p->log2_n_stack_bytes) : VLIB_THREAD_STACK_SIZE;
__sanitizer_start_switch_fiber (&vm->asan_stack_save, stack, stack_bytes);
#endif
}