diff options
Diffstat (limited to 'src/vlib')
-rw-r--r-- | src/vlib/node.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vlib/node.c b/src/vlib/node.c index 2e93b9598eb..3838d950040 100644 --- a/src/vlib/node.c +++ b/src/vlib/node.c @@ -446,7 +446,7 @@ register_node (vlib_main_t * vm, vlib_node_registration_t * r) clib_memset (p, 0, sizeof (p[0])); p->log2_n_stack_bytes = log2_n_stack_bytes; - stack_bytes = 1 << log2_n_stack_bytes; + stack_bytes = 1ULL << log2_n_stack_bytes; /* map stack size + 2 extra guard pages */ map = mmap (0, stack_bytes + page_size, PROT_READ | PROT_WRITE, mmap_flags, -1, 0); |