Jacek Kalwas a15b6af0a6 nvmf: fix transport adding to tgt
adding transport to tgt should be the last step

also there is an issue before change i.e. if calloc failed then
transport remains on the list

Signed-off-by: Jacek Kalwas <jacek.kalwas@intel.com>
Change-Id: Iaf29cfc7b0f535d40160c6fdf9ef6a7e6bfb127c
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/10429
Community-CI: Mellanox Build Bot
Community-CI: Broadcom CI <spdk-ci.pdl@broadcom.com>
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Reviewed-by: Aleksey Marchuk <alexeymar@mellanox.com>
2021-11-30 09:05:52 +00:00
..
2021-02-05 14:43:47 +00:00
2021-10-20 07:22:22 +00:00
2021-11-16 09:06:10 +00:00
2021-11-03 18:30:55 +00:00
2021-11-30 09:05:52 +00:00
2021-11-19 08:29:59 +00:00
2021-09-03 08:08:20 +00:00
2021-02-05 14:43:47 +00:00
2021-11-16 09:06:10 +00:00
2021-10-07 09:25:48 +00:00