nuttx/net/udp
zhanghongyu faa4d7ff8d net/udp: fix conn_unlock not called outside conditional block
Move conn_unlock() call outside the if block in psock_udp_sendto()
to ensure the connection lock is always released before returning,
preventing a potential deadlock when the condition is not met.

Signed-off-by: zhanghongyu <zhanghongyu@xiaomi.com>
2026-04-09 03:04:15 +08:00
..
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig net: Enable dynamic allocation of tcp/udp/ipfwd buffer by default 2025-01-07 22:00:21 +08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
udp.h net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
udp_callback.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_close.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_conn.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_devpoll.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_finddev.c net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
udp_input.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_ioctl.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_ipselect.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_netpoll.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_notifier.c udp:Resolve UDP exit delay due to high CPU usage 2025-12-29 09:42:18 +08:00
udp_recvfrom.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_send.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_sendto_buffered.c net/udp: fix conn_unlock not called outside conditional block 2026-04-09 03:04:15 +08:00
udp_sendto_unbuffered.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_setsockopt.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_txdrain.c net: replace net_sem*wait with conn_dev_sem*wait to simplify code logic 2026-01-02 07:48:06 -03:00
udp_wrbuffer.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00
udp_wrbuffer_dump.c include/debug.h: Move to include/nuttx/debug.h 2026-04-07 07:50:06 -03:00