projects
/
linux-flexiantxendom0.git
/ blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
tcm_fc: Add abort flag for gracefully handling exchange timeout
[linux-flexiantxendom0.git]
/
drivers
/
target
/
tcm_fc
/
tfc_io.c
diff --git
a/drivers/target/tcm_fc/tfc_io.c
b/drivers/target/tcm_fc/tfc_io.c
index
1369b1c
..
ada131c
100644
(file)
--- a/
drivers/target/tcm_fc/tfc_io.c
+++ b/
drivers/target/tcm_fc/tfc_io.c
@@
-84,6
+84,8
@@
int ft_queue_data_in(struct se_cmd *se_cmd)
void *from;
void *to = NULL;
+ if (cmd->aborted)
+ return 0;
ep = fc_seq_exch(cmd->seq);
lport = ep->lp;
cmd->seq = lport->tt.seq_start_next(cmd->seq);