casaroli commented on code in PR #22357:
URL: https://github.com/apache/nuttx/pull/22357#discussion_r4731499282


##########
net/socket/recvmsg.c:
##########
@@ -130,6 +165,157 @@ ssize_t psock_recvmsg(FAR struct socket *psock, FAR 
struct msghdr *msg,
   return ret;
 }
 
+#ifdef CONFIG_BUILD_KERNEL
+/****************************************************************************
+ * Name: psock_recvmsg_user

Review Comment:
   psock_recvmsg()/psock_sendmsg() also get kernel buffers from NFS 
(fs/nfs/rpc_clnt.c:334), 9P (fs/v9fs/socket_9p.c:161 and :199), usrsock and 
OP-TEE, so the copy cannot go there. In recvmsg()/sendmsg() only, it would miss 
recvfrom()/sendto() and read()/write() of a socket (fs/socket/socket.c), which 
call psock_recvmsg_user()/psock_sendmsg_user() too.
   



-- 
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