subsys/net: Increase management stack size for thread local storage
The management thread *barely* fits in 768 bytes of stack; when thread local storage is in use and TLS variables are also allocated from the same region, this stack can overflow. Increase to 800 bytes to leave plenty of room for TLS variables. Signed-off-by: Keith Packard <keithp@keithp.com>
This commit is contained in:
parent
021923b58a
commit
40bc3ec346
1 changed files with 1 additions and 0 deletions
|
@ -22,6 +22,7 @@ if NET_MGMT_EVENT
|
||||||
config NET_MGMT_EVENT_STACK_SIZE
|
config NET_MGMT_EVENT_STACK_SIZE
|
||||||
int "Stack size for the inner thread handling event callbacks"
|
int "Stack size for the inner thread handling event callbacks"
|
||||||
default 2048 if COVERAGE_GCOV
|
default 2048 if COVERAGE_GCOV
|
||||||
|
default 800 if THREAD_LOCAL_STORAGE
|
||||||
default 768
|
default 768
|
||||||
help
|
help
|
||||||
Set the internal stack size for NM to run registered callbacks
|
Set the internal stack size for NM to run registered callbacks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue