Spdk/lib/iscsi
Tomasz Zawadzki f6866117ac freebsd: return negated error from getaddrinfo()
On FreeBSD getaddrinfo() report positive error code
values, meanwhile Linux does it with negative ones.

Make sure that regardless of the system used,
error codes with same sign are reported.
This can be observed in the log reported in #2936.

Besides the above, in some instances replaced EINVAL
with the actual return value.

Change-Id: I7f88c314bdf5c3a03f8661c2213e33b2fc276ef7
Signed-off-by: Tomasz Zawadzki <tomasz.zawadzki@intel.com>
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17097
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Community-CI: Mellanox Build Bot
Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com>
2023-03-10 16:44:37 +00:00
..
conn.c iscsi: add EXITING conns to pg after full_feature_migrate 2022-12-23 09:27:48 +00:00
conn.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
init_grp.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
init_grp.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi_rpc.c iscsi: Use error_response() rather than bool_response(false) for JSON RPC 2023-01-31 21:40:09 +00:00
iscsi_subsystem.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
iscsi.c misc: Fix spelling mistakes 2022-12-09 08:16:18 +00:00
iscsi.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
Makefile so_ver: increase all major versions 2023-01-24 08:37:21 +00:00
md5.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
md5.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
param.c lib/iscsi: missing a comma for the string 2022-12-20 09:20:31 +00:00
param.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
portal_grp.c freebsd: return negated error from getaddrinfo() 2023-03-10 16:44:37 +00:00
portal_grp.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
spdk_iscsi.map subsystem/iscsi: remove legacy config support 2020-10-20 08:53:53 +00:00
task.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
task.h update Intel copyright notices 2022-11-10 08:28:53 +00:00
tgt_node.c update Intel copyright notices 2022-11-10 08:28:53 +00:00
tgt_node.h update Intel copyright notices 2022-11-10 08:28:53 +00:00