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> |
||
|---|---|---|
| .. | ||
| circbuf.h | ||
| gran.h | ||
| iob.h | ||
| kmap.h | ||
| map.h | ||
| mempool.h | ||
| mm.h | ||