+91
−21
Loading
The SSL impl borrows a lot of code from the POSIX impl, but it can't use the g_spdk_posix_sock_impl_opts to store its opts - it needs its own copy. Replace references to global opts with pointers to spdk_sock.spdk_sock_impl_opts where possible. This will let us use socket data at hand instead of always referencing posix implementation. If changing the global reference is not possible, split shared functions into posix/ssl specific. Fixes: 2fb5ff49 ("sock: Add support for SSL") Fixes: #2911 Signed-off-by:Jim Harris <james.r.harris@intel.com> Change-Id: Idbd36ccf347c47fc7e9322f58e8fe2be7c60fa3b Signed-off-by:
Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/16841 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Community-CI: Mellanox Build Bot