jerpelea opened a new pull request, #20307: URL: https://github.com/apache/nuttx/pull/20307
## Summary pkt_poll() records the outgoing IOB in pkt_conn->pendiob so that any synchronous TX tap or loopback executed during the driver callback can skip delivering the packet back to the sending socket. Previously, pendiob was never cleared upon TX completion and would linger across transmissions as a dangling pointer. Because the IOB pool is small and recycled quickly (LIFO), a subsequent incoming packet from the network frequently reused the same IOB buffer address, causing pkt_in() to drop legitimate RX packets as false self-echoes. Drop the pendiob reference immediately after callback(dev) returns in devif_poll_pkt_connections(), ensuring the pointer never outlives the transmission cycle. Also fixes a pre-existing nxstyle alignment issue in devif_poll.c IPv6 version-check block (unrelated nerr() call), since this file is now touched and CI enforces style on the whole file. ## Impact RELEASE ## Testing CI -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
