You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2022/01/18 08:14:45 UTC

[incubator-nuttx] branch master updated (04b27b6 -> 5b13797)

This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git.


    from 04b27b6  Fix aligment issue: pktbuf needs to be 16bit aligned Otherwise hardfault in cdcecm_receive() at BUF->type.
     add 5b13797  net/tcp/tcp_send*: reliably obtain the TCP connection pointer in TCP event handlers Do not use pvconn argument to get the TCP connection pointer because pvconn is normally NULL for some events like NETDEV_DOWN. Instead, the TCP connection pointer can be reliably obtained from the corresponding TCP socket.

No new revisions were added by this update.

Summary of changes:
 net/devif/devif.h             |  4 ++--
 net/devif/devif_callback.c    |  4 ++--
 net/tcp/tcp_send_buffered.c   | 45 +++++++++++++++++++++++-----------
 net/tcp/tcp_send_unbuffered.c | 29 ++++++++++++++++++----
 net/tcp/tcp_sendfile.c        | 56 +++++++++++++++++++++++++++++--------------
 5 files changed, 97 insertions(+), 41 deletions(-)