mirror of
https://github.com/apache/nuttx.git
synced 2026-10-02 02:25:12 +08: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