+3
−0
Loading
Similarly to what we do with PSK identity, add a field to nvme_tcp_ctrlr structure to hold a generated string representing PSK. The main purpose of this change is to prevent PSK from being lost due to allocation on stack inside nvme_tcp_qpair_connect_sock() function. Since the key is stored in binary form, additionally, add a field to hold its size. Change-Id: I9f9ece51cc0446344d6d038f72714f916a2d3c4d Signed-off-by:Krzysztof Karas <krzysztof.karas@intel.com> Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17296 Community-CI: Mellanox Build Bot Reviewed-by:
Ben Walker <benjamin.walker@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by:
Konrad Sztyber <konrad.sztyber@intel.com>