Repository navigation
Commit cc74a0e
Target/iscsi: Fix sendtargets response pdu for iser transport
commit 22c7aaa upstream.
In case the transport is iser we should not include the
iscsi target info in the sendtargets text response pdu.
This causes sendtargets response to include the target
info twice.
Modify iscsit_build_sendtargets_response to filter
transport types that don't match.
Signed-off-by: Sagi Grimberg <sagig@mellanox.com>
Reported-by: Slava Shwartsman <valyushash@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>1 parent 0df3f92 commit cc74a0e
3 files changed
Lines changed: 13 additions & 6 deletions
File tree
- drivers
- infiniband/ulp/isert
- target/iscsi
- include/target/iscsi
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2320 | 2320 | | |
2321 | 2321 | | |
2322 | 2322 | | |
2323 | | - | |
| 2323 | + | |
2324 | 2324 | | |
2325 | 2325 | | |
2326 | 2326 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3390 | 3390 | | |
3391 | 3391 | | |
3392 | 3392 | | |
3393 | | - | |
| 3393 | + | |
| 3394 | + | |
| 3395 | + | |
3394 | 3396 | | |
3395 | 3397 | | |
3396 | 3398 | | |
| |||
3467 | 3469 | | |
3468 | 3470 | | |
3469 | 3471 | | |
| 3472 | + | |
| 3473 | + | |
| 3474 | + | |
3470 | 3475 | | |
3471 | 3476 | | |
3472 | 3477 | | |
| |||
3520 | 3525 | | |
3521 | 3526 | | |
3522 | 3527 | | |
3523 | | - | |
| 3528 | + | |
| 3529 | + | |
3524 | 3530 | | |
3525 | 3531 | | |
3526 | 3532 | | |
3527 | | - | |
| 3533 | + | |
3528 | 3534 | | |
3529 | 3535 | | |
3530 | 3536 | | |
| |||
3562 | 3568 | | |
3563 | 3569 | | |
3564 | 3570 | | |
3565 | | - | |
| 3571 | + | |
3566 | 3572 | | |
3567 | 3573 | | |
3568 | 3574 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
| 73 | + | |
| 74 | + | |
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
| |||
0 commit comments