+18
−8
Loading
Purpose: The function spdk_sock_request_put may return an error code, and close the socket, so we should change the return type of _sock_check_zcopy. If the return value of _sock_check_zcopy is not zero, we should not handle the EPOLLIN event. Fixes #1169 Signed-off-by:Ziye Yang <ziye.yang@intel.com> Change-Id: Ie6fbd7ebff54749da8fa48836cc631eea09c4ab8 Signed-off-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-on: https://review.gerrithub.io/c/spdk/spdk/+/483311 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Shuhei Matsumoto <shuhei.matsumoto.xt@hitachi.com> Reviewed-by:
Alexey Marchuk <alexeymar@mellanox.com>