wengzhe opened a new pull request, #9702:
URL: https://github.com/apache/nuttx/pull/9702

   ## Summary
   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` 
([code](https://github.com/torvalds/linux/blob/d528014517f2b0531862c02865b9d4c908019dc4/net/core/sock.c#L1151)),
 so we can also do this limit without returning any error.
   
   ## Impact
   Limit too large socket bufsize
   
   ## Testing
   Manually
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to