raiden00pl opened a new pull request, #20946: URL: https://github.com/apache/nuttx/pull/20946
## Summary can_setsockopt() and can_getsockopt() keep SO_RCVBUF and SO_SNDBUF but accepted them only at SOL_CAN_RAW, so the SOL_SOCKET form failed with ENOPROTOOPT. POSIX XSH 2.10.16, socket-level options: "Unless otherwise noted, each may be examined with getsockopt() and set with setsockopt() on all types of socket." https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html#tag_16_10_16 ## Impact bugfix ## Testing issue found with https://github.com/railab/nuttx-testlab -- 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]
