Loading
sock/posix: unmark socket_has_data also for listening sockets
This is a prework for polling listening sockets via sock groups. If the socket_has_data flag is not cleared and the socket is not removed from the group->sockets_with_data then spdk_sock_group_poll() called on the listening sockets group would forever return all sockets that ever had received an accept request. Change-Id: I37b41e5118a557e7cc5f28ada553be3cfb8ee37e Signed-off-by:Krzysztof Goreczny <krzysztof.goreczny@dell.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/23212 Community-CI: Mellanox Build Bot Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com> Reviewed-by:
Boris Glimcher <Boris.Glimcher@emc.com>