incubator-nuttx/net/can
gaohedong 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.

Signed-off-by: gaohedong <gaohedong@xiaomi.com>
2024-06-14 19:54:07 +08:00
..
CMakeLists.txt build: add initial cmake build system 2023-07-08 13:50:48 +08:00
Kconfig Remove the tail spaces from all files except Documentation 2023-02-26 13:24:24 -08:00
Make.defs
can.h net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
can_callback.c net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
can_conn.c net/can: deliver data into multiple CAN conn bound to same dev 2024-04-09 00:25:44 +08:00
can_getsockopt.c net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
can_input.c net/can: deliver data into multiple CAN conn bound to same dev 2024-04-09 00:25:44 +08:00
can_notifier.c
can_poll.c net/devif_poll: optimize device buffer alloc in txpoll 2023-01-13 16:41:10 +08:00
can_recvmsg.c net/can: add missing FAR specifier 2023-09-16 14:17:47 +08:00
can_sendmsg.c net/can: Add FAR specifier and fix nxstyle issues 2023-09-16 14:17:47 +08:00
can_setsockopt.c net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00
can_sockif.c net/can: Add SO_RCVBUF option for can socket 2024-06-14 19:54:07 +08:00