nuttx/net/devif
shichunma 21def97623 net/devif: harden devif_conn_event() against list mutation
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>
2026-06-25 15:19:02 -03:00
..
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