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 net/net_initialize: remove the empty functions that are not needed 2025-12-25 09:50:40 +08:00
devif.h devif_poll: only call the corresponding xxx_poll when there is data to be sent 2026-01-02 00:04:16 +08:00
devif_callback.c net/devif: harden devif_conn_event() against list mutation 2026-06-25 15:19:02 -03:00
devif_filesend.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_forward.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_iobsend.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_loopback.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_poll.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
devif_send.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
ipv4_input.c net/devif: Reorder ipv4_input packet classification. 2026-04-23 15:11:08 +08:00
ipv6_input.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
Make.defs net/net_initialize: remove the empty functions that are not needed 2025-12-25 09:50:40 +08:00