Spdk/test
Konrad Sztyber 0cae873b78 sock: set errno in spdk_sock_flush()
All the other spdk_sock_* functions return -1 and set errno
appropriately, so we should do the same in flush().

Signed-off-by: Konrad Sztyber <konrad.sztyber@intel.com>
Change-Id: I51cda2c51974c72e82531f06fa31ab89b2329c91
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/15642
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2022-12-01 12:49:04 +00:00
..
accel add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
app llvm_vfio_fuzz: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
bdev Add SPDX header to various files 2022-11-29 08:27:51 +00:00
blobfs add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
blobstore add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
common add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
compress add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
cpp_headers update Intel copyright notices 2022-11-10 08:28:53 +00:00
dd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
dma test/dma: call spdk_thread_exit() 2022-11-23 08:22:04 +00:00
dpdk_memory_utility add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
env add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
event Add SPDX header to various files 2022-11-29 08:27:51 +00:00
external_code add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
ftl add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
fuzz add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
interrupt Add SPDX header to various files 2022-11-29 08:27:51 +00:00
ioat add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
iscsi_tgt add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
json_config add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
lvol add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
make nvmf: Add copy command support 2022-11-30 08:50:06 +00:00
nvme test/nvme/simple_copy: Allow to connect to NVMf target 2022-11-30 08:50:06 +00:00
nvmf add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
ocf Add SPDX header to various files 2022-11-29 08:27:51 +00:00
openstack add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
packaging add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
pmem add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc Add SPDX header to various files 2022-11-29 08:27:51 +00:00
rpc_client add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
rpc_plugins autotest: Use rpc_cmd() for rpc plugin-based tests 2021-04-02 08:22:42 +00:00
scheduler Add SPDX header to various files 2022-11-29 08:27:51 +00:00
setup add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
sma Add SPDX header to various files 2022-11-29 08:27:51 +00:00
spdkcli add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
thread add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
unit sock: set errno in spdk_sock_flush() 2022-12-01 12:49:04 +00:00
vfio_user Add SPDX header to various files 2022-11-29 08:27:51 +00:00
vhost add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
vmd add (c) and SPDX header to bash files as needed 2022-11-29 08:27:51 +00:00
Makefile update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_cunit.h update Intel copyright notices 2022-11-10 08:28:53 +00:00