zhhyu7 commented on code in PR #7378: URL: https://github.com/apache/incubator-nuttx/pull/7378#discussion_r1001341612
########## net/socket/socket.c: ########## @@ -82,6 +82,11 @@ int psock_socket(int domain, int type, int protocol, FAR const struct sock_intf_s *sockif = NULL; int ret; + if (type & ~(SOCK_CLOEXEC | SOCK_NONBLOCK | SOCK_TYPE_MASK)) Review Comment: https://github.com/linux-test-project/ltp/blob/3e0e60074495e1c350b634848e5dd1f7993ec2ef/testcases/kernel/syscalls/socket/socket01.c#L32 -- 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]
