If we find that the discovery entry already exists, a single break doesn't work - that just breaks out of the TAILQ_FOREACH. So instead change it to free the resolver object and return directly. Fixes issue #2945. Signed-off-by: Jim Harris <james.r.harris@intel.com> Change-Id: Ia31d6ecfa4fdc0a168eecc8ec4659da10a870770 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/17209 Reviewed-by: Konrad Sztyber <konrad.sztyber@intel.com> Tested-by: SPDK CI Jenkins <sys_sgci@intel.com> Reviewed-by: Aleksey Marchuk <alexeymar@nvidia.com> Reviewed-by: Karol Latecki <karol.latecki@intel.com> |
||
---|---|---|
.. | ||
accel | ||
bdev | ||
blob | ||
blobfs | ||
env_dpdk | ||
event | ||
scheduler | ||
sock | ||
vfu_device | ||
Makefile |