nuttx/mm/iob
Daniel P. Carvalho bc566da957 mm/iob: fix CONFIG_NET_TIMESTAMPING typo in iob_alloc
net: add SO_TIMESTAMPING support for PKT sockets gated the io_conn
reset in iob_alloc_committed() and iob_tryalloc_internal() on
CONFIG_NET_TIMESTAMPING, then merged that symbol into
CONFIG_NET_TIMESTAMP without updating mm/iob/iob_alloc.c. Both
#ifdefs there test a symbol that no longer exists, so the reset is
never compiled in.

Recycled IOBs therefore kept the io_conn of their previous owner, and
pkt_input() treated ordinary received frames as TX timestamp loopback,
queueing them on conn->errahead instead of readahead.

Signed-off-by: Daniel P. Carvalho <danieloak@gmail.com>
Assisted-by: Claude:claude-sonnet-5
2026-09-19 16:36:47 -03:00
..
CMakeLists.txt
iob.h include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_add_queue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_alloc.c mm/iob: fix CONFIG_NET_TIMESTAMPING typo in iob_alloc 2026-09-19 16:36:47 -03:00
iob_alloc_qentry.c
iob_clone.c net: move rx timestamp from d_rxtime to iob_s.io_time 2026-09-18 20:00:49 +08:00
iob_concat.c
iob_contig.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_copyin.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_copyout.c
iob_count.c
iob_dump.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_free.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_free_chain.c
iob_free_qentry.c
iob_free_queue.c
iob_free_queue_qentry.c
iob_get_queue_info.c
iob_initialize.c
iob_navail.c
iob_notifier.c
iob_pack.c
iob_peek_queue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_remove_queue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_reserve.c
iob_statistics.c
iob_tailroom.c
iob_test.c
iob_trimhead.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_trimhead_queue.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_trimtail.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
iob_update_pktlen.c net/ethernet: update all iob information in the iob_update_pktlen 2025-12-29 14:40:26 +08:00
Kconfig
Make.defs