mirror of
https://github.com/apache/nuttx.git
synced 2026-10-02 03:46:25 +00:00
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 |
||
|---|---|---|
| .. | ||
| CMakeLists.txt | ||
| iob.h | ||
| iob_add_queue.c | ||
| iob_alloc.c | ||
| iob_alloc_qentry.c | ||
| iob_clone.c | ||
| iob_concat.c | ||
| iob_contig.c | ||
| iob_copyin.c | ||
| iob_copyout.c | ||
| iob_count.c | ||
| iob_dump.c | ||
| iob_free.c | ||
| 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 | ||
| iob_remove_queue.c | ||
| iob_reserve.c | ||
| iob_statistics.c | ||
| iob_tailroom.c | ||
| iob_test.c | ||
| iob_trimhead.c | ||
| iob_trimhead_queue.c | ||
| iob_trimtail.c | ||
| iob_update_pktlen.c | ||
| Kconfig | ||
| Make.defs | ||