dc651e090e
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> |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
Kconfig | ||
Make.defs | ||
can.h | ||
can_callback.c | ||
can_conn.c | ||
can_getsockopt.c | ||
can_input.c | ||
can_notifier.c | ||
can_poll.c | ||
can_recvmsg.c | ||
can_sendmsg.c | ||
can_setsockopt.c | ||
can_sockif.c |