zhhyu7 commented on code in PR #21517:
URL: https://github.com/apache/nuttx/pull/21517#discussion_r4505033619


##########
net/pkt/pkt_recvmsg.c:
##########
@@ -465,7 +506,7 @@ ssize_t pkt_recvmsg(FAR struct socket *psock, FAR struct 
msghdr *msg,
    * enough to hold this address family.
    */
 
-  if (from != NULL && *fromlen < sizeof(sa_family_t))
+  if (from != NULL && *fromlen < sizeof(struct sockaddr_ll))

Review Comment:
   Done.



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