nuttx/net/devif
Fotis Panagiotopoulos 3c54d82d81 net: Fix task block when devif_send fails.
When a task needs to send data, a callback is allocated and the
transmission is happening in a worker task through devif_send.
Synchronization between the two tasks (sender & worker) is
achieved by a semaphore.

If devif_send fails, this semaphore was never posted, leaving
the sending task blocked indefinitely. This commit fixes this
by checking the return code of netif_send, and posting this
semaphore in case of failure.

Polling then stops, and execution is resumed on the sending
task.
2023-06-01 17:05:54 +08:00
..
devif_callback.c Improvements in sockets allocation. 2023-02-20 09:06:46 +08:00
devif_filesend.c net/devif: fix null pointer reference found out by coverity 2023-02-21 00:44:07 +08:00
devif_forward.c
devif_initialize.c
devif_iobsend.c net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
devif_loopback.c
devif_poll.c Indent the define statement by two spaces 2023-05-21 09:52:08 -03:00
devif_send.c net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
devif.h net: Fix task block when devif_send fails. 2023-06-01 17:05:54 +08:00
ipv4_input.c
ipv6_input.c
Make.defs