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 2023/01/12 03:25:56 UTC

[GitHub] [nuttx] anchao commented on a diff in pull request #8082: net/devif_poll: optimize device buffer alloc in txpoll

anchao commented on code in PR #8082:
URL: https://github.com/apache/nuttx/pull/8082#discussion_r1067664351


##########
net/udp/udp_sendto_unbuffered.c:
##########
@@ -192,6 +192,15 @@ static uint16_t sendto_eventhandler(FAR struct net_driver_s *dev,
 
       else
         {
+          /* Copy the user data into d_appdata and send it */
+
+          devif_send(dev, pstate->st_buffer,

Review Comment:
   New send flow will prepare the d_iob buffer in devif_send(), sendto_ipselect() depends on d_iob to update d_appdata



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