Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
poll-loop: Fix a bug while finding a poll node.
When a poll_node is created, it gets either a 'fd' or a 'wevent' (can't get both). When the poll_node is searched for previous creations on that 'fd' or 'wevent', the search criteria was wrong for Windows. In Windows, when a 'fd' is received in poll_create_node, we create a corresponding 'wevent'. So while searching for that 'fd', we should not look for 'wevent' in the hmap_node. Reported-by: Alin Gabriel Serdean <[email protected]> Signed-off-by: Gurucharan Shetty <[email protected]> Acked-by: Alin Gabriel Serdean <[email protected]> Acked-by: Ben Pfaff <[email protected]>
- Loading branch information