You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/09/05 15:08:38 UTC

[GitHub] [incubator-nuttx] anchao commented on a diff in pull request #6956: net/tcp: use independent work to free the conn instance

anchao commented on code in PR #6956:
URL: https://github.com/apache/incubator-nuttx/pull/6956#discussion_r962995175


##########
net/tcp/tcp_close.c:
##########
@@ -175,11 +178,15 @@ static uint16_t tcp_close_eventhandler(FAR struct net_driver_s *dev,
   return flags;
 
 end_wait:
-  tcp_callback_free(conn, conn->clscb);
+  if (conn->clscb)

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: commits-unsubscribe@nuttx.apache.org

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