mirror of
https://github.com/apache/nuttx.git
synced 2026-05-16 13:56:00 +08:00
1072b5b564
There're some apps trying to set too large SO_SNDBUF and SO_RCVBUF, which may use all IOBs in one socket and block all other network traffic. Note: Linux silently limits SO_SNDBUF to be less than `sysctl_wmem_max`, so we can also do this limit without returning any error. Signed-off-by: Zhe Weng <wengzhe@xiaomi.com>