nuttx/net/usrsock
daichuan a82ee60da8 usrsock: Check RECVFROM_AVAIL before setting POLLIN in pollsetup
In usrsock_pollsetup, only set POLLIN if USRSOCK_EVENT_RECVFROM_AVAIL is set when remote is closed, avoiding invalid POLLIN events.

Signed-off-by: daichuan <daichuan@xiaomi.com>
2026-01-20 22:37:10 +08:00
..
CMakeLists.txt net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
Kconfig net/usrsock: Can enable TCP/UDP IP stack with Usrsock enabled 2023-09-21 01:08:11 +08:00
Make.defs net: migrate to SPDX identifier 2024-09-12 01:08:11 +08:00
usrsock.h net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
usrsock_accept.c usrsock: Avoid frequent POLLIN when remote close during accept. 2026-01-20 22:37:10 +08:00
usrsock_bind.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_close.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_conn.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_connect.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_devif.c net/usrsock: replace net_lock with usrsock_lock 2026-01-01 07:35:12 -03:00
usrsock_event.c net/usrsock: replace net_lock with usrsock_lock 2026-01-01 07:35:12 -03:00
usrsock_getpeername.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_getsockname.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_getsockopt.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_ioctl.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_listen.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_poll.c usrsock: Check RECVFROM_AVAIL before setting POLLIN in pollsetup 2026-01-20 22:37:10 +08:00
usrsock_recvmsg.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_sendmsg.c net: make the sendmsg param type consistent with posix specification 2026-01-16 21:11:39 +08:00
usrsock_setsockopt.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_shutdown.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_socket.c net/devif_callback: change flags type from uint16_t to uint32_t 2026-01-02 00:04:16 +08:00
usrsock_sockif.c style: fix spelling in code comments and strings 2025-05-23 10:48:41 +08:00