net: Remove the DEBUGASSERT of the same event of the same fd in tcp_pollsetup.
In libuv, if the real_timeout in the uv__io_poll is less than 0, the poll logic will be entered directly by the uv__run_timers, which will trigger the ASSERT. It seems that the situation of first epoll and then poll for the same fd is used in libuv. Signed-off-by: liqinhui <liqinhui@xiaomi.com>
This commit is contained in:
parent
46c2d46a6b
commit
88a300d2e6
1 changed files with 0 additions and 1 deletions
|
@ -230,7 +230,6 @@ int tcp_pollsetup(FAR struct socket *psock, FAR struct pollfd *fds)
|
|||
info = conn->pollinfo;
|
||||
while (info->conn != NULL)
|
||||
{
|
||||
DEBUGASSERT((fds->events & info->fds->events) != 0);
|
||||
if (++info >= &conn->pollinfo[CONFIG_NET_TCP_NPOLLWAITERS])
|
||||
{
|
||||
DEBUGPANIC();
|
||||
|
|
Loading…
Reference in a new issue