Donny9 commented on a change in pull request #2899:
URL: https://github.com/apache/incubator-nuttx/pull/2899#discussion_r581671945



##########
File path: net/pkt/pkt_send.c
##########
@@ -162,7 +162,7 @@ ssize_t psock_pkt_send(FAR struct socket *psock, FAR const 
void *buf,
 
   /* Verify that the sockfd corresponds to valid, allocated socket */
 
-  if (!psock || psock->s_crefs <= 0)
+  if (!psock || !psock->s_conn)

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.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to