net: limit NET_NACTIVESOCKETS to 4 when enable DEFAULT_SMALL

Change-Id: Iac28b59227f84c4df0d81d75f34aabad39191f5b
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 dongjiuzhu1
parent c1c478538f
commit e2c717d1fd
+2 -1
View File
@@ -7,7 +7,8 @@ menu "Socket Support"
config NET_NACTIVESOCKETS
int "Max socket operations"
default 16
default 16 if !DEFAULT_SMALL
default 4 if DEFAULT_SMALL
---help---
Maximum number of concurrent socket operations (recv, send,
connection monitoring, etc.). Default: 16