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 2024/06/14 11:54:13 UTC

(nuttx) branch master updated (894d8a2c52 -> dc651e090e)

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/nuttx.git


    from 894d8a2c52 Documentation/rv-virt: Update information for S mode build
     add dc651e090e net/can: Add SO_RCVBUF option for can socket If the CAN stack receiving packets fast, but the application layer reading packets slow. Then `conn->readahead` will continue to grow, leading to memory leaks. Finally CAN stack potentially starve out all IOB buffers. To prevent memory leaks, users can restrict can socket buffer length.

No new revisions were added by this update.

Summary of changes:
 include/nuttx/mm/iob.h                             |  1 +
 mm/iob/CMakeLists.txt                              |  2 +-
 mm/iob/Make.defs                                   |  2 +-
 .../{iob_get_queue_size.c => iob_get_queue_info.c} | 21 +++++++++++++-
 net/can/can.h                                      |  4 +++
 net/can/can_callback.c                             | 20 +++++++++++--
 net/can/can_getsockopt.c                           | 16 +++++++++++
 net/can/can_setsockopt.c                           | 33 ++++++++++++++++++++++
 net/can/can_sockif.c                               | 10 +++++++
 9 files changed, 104 insertions(+), 5 deletions(-)
 rename mm/iob/{iob_get_queue_size.c => iob_get_queue_info.c} (78%)