mirror of
https://github.com/apache/nuttx.git
synced 2026-08-01 20:28:58 +00:00
devif_conn_event() saves list->nxtconn before invoking the current callback. If the callback mutates its callback list, the saved local successor may no longer match the post-callback list topology. Align devif_conn_event() with devif_dev_event(): protect the current callback with DEVIF_CB_DONT_FREE, refresh next after the callback returns, and defer freeing the current node until iteration is safe. Signed-off-by: shichunma <shichunma@bestechnic.com> |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| devif.h | ||
| devif_callback.c | ||
| devif_filesend.c | ||
| devif_forward.c | ||
| devif_iobsend.c | ||
| devif_loopback.c | ||
| devif_poll.c | ||
| devif_send.c | ||
| ipv4_input.c | ||
| ipv6_input.c | ||
| Make.defs | ||