Spdk/module
Ziye Yang 08249f00b5 sock/posix: Change the return type of function _sock_check_zcopy
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>
2020-01-31 09:29:07 +00:00
..
bdev bdev/nvme: fix crash when invoking apply_firmware RPC 2020-01-28 15:41:26 +00:00
blob blob_bdev: add spdk_bdev_create_bs_dev_from_desc 2019-09-18 02:59:59 +00:00
blobfs rpc/blobfs: add cache size setting rpc 2019-11-07 00:33:25 +00:00
copy ioat copy engine: free the registered io device. 2019-12-30 03:09:01 +00:00
env_dpdk env_dpdk/rpc: add rpc to get memory stats. 2019-12-13 11:05:57 +00:00
event nvmf: change default connection scheduler 2020-01-22 13:53:45 +00:00
sock sock/posix: Change the return type of function _sock_check_zcopy 2020-01-31 09:29:07 +00:00
Makefile env_dpdk/rpc: add rpc to get memory stats. 2019-12-13 11:05:57 +00:00