net: limit NET_NACTIVESOCKETS to 4 when enable DEFAULT_SMALL

Signed-off-by: Jiuzhu Dong <dongjiuzhu1@xiaomi.com>
This commit is contained in:
Jiuzhu Dong 2021-09-15 19:27:08 +08:00 committed by Xiang Xiao
parent 93bdecf2c3
commit 887ec01f3e

View File

@ -7,7 +7,8 @@ menu "Socket Support"
config NET_NACTIVESOCKETS config NET_NACTIVESOCKETS
int "Max socket operations" int "Max socket operations"
default 16 default 16 if !DEFAULT_SMALL
default 4 if DEFAULT_SMALL
---help--- ---help---
Maximum number of concurrent socket operations (recv, send, Maximum number of concurrent socket operations (recv, send,
connection monitoring, etc.). Default: 16 connection monitoring, etc.). Default: 16