Repository navigation
Commit 2a4a910
nvmet-fc: do not check for invalid target port in nvmet_fc_handle_fcp_rqst()
When parsing a request in nvmet_fc_handle_fcp_rqst() we should not
check for invalid target ports; if we do the command is aborted
from the fcp layer, causing the host to assume a transport error.
Rather we should still forward this request to the nvmet layer, which
will then correctly fail the command with an appropriate error status.
Signed-off-by: Hannes Reinecke <hare@suse.de>
Reviewed-by: James Smart <jsmart2021@gmail.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>1 parent eff4423 commit 2a4a910
1 file changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2510 | 2510 | | |
2511 | 2511 | | |
2512 | 2512 | | |
2513 | | - | |
2514 | | - | |
2515 | | - | |
2516 | | - | |
2517 | | - | |
2518 | | - | |
2519 | | - | |
2520 | 2513 | | |
2521 | 2514 | | |
2522 | 2515 | | |
| |||
2544 | 2537 | | |
2545 | 2538 | | |
2546 | 2539 | | |
2547 | | - | |
| 2540 | + | |
| 2541 | + | |
2548 | 2542 | | |
2549 | 2543 | | |
2550 | 2544 | | |
| |||
0 commit comments