Commit 3f2ca96
fabrics: fix concat during nvme connect-all
During nvme connect-all, if a discovery log page record reports the
sectype as anything other than NVMF_TCP_SECTYPE_NONE in
nvmf_connect_disc_entry(), it then assumes that --tls should be default
set for the same. But this holds true only for configured PSK TLS alone
and not for generated PSK TLS. For generated PSK TLS connections using
--concat (i.e. secure channel concat), this would lead to connection
failures since both --tls and --concat are not to be invoked together.
Fix this by distinguishing the two through their respective treq values
and setting the appropriate --tls or --concat flags for each.
Signed-off-by: Martin George <[email protected]>1 parent 0037362 commit 3f2ca96
1 file changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1193 | 1193 | | |
1194 | 1194 | | |
1195 | 1195 | | |
1196 | | - | |
1197 | | - | |
| 1196 | + | |
| 1197 | + | |
| 1198 | + | |
| 1199 | + | |
| 1200 | + | |
| 1201 | + | |
1198 | 1202 | | |
1199 | 1203 | | |
1200 | 1204 | | |
| |||
0 commit comments