diff options
author | Mike Christie <[email protected]> | 2022-04-07 19:13:12 -0500 |
---|---|---|
committer | Martin K. Petersen <[email protected]> | 2022-04-11 22:09:35 -0400 |
commit | 44ac97109e42f87b1a34954704b81b6c8eca80c4 (patch) | |
tree | c17731f0518d63161ce367a86d9227e3dc427314 /lib/mpi/mpiutil.c | |
parent | 5bd856256f8c03e329f8ff36d8c8efcb111fe6df (diff) |
scsi: iscsi: Fix NOP handling during conn recovery
If a offload driver doesn't use the xmit workqueue, then when we are doing
ep_disconnect libiscsi can still inject PDUs to the driver. This adds a
check for if the connection is bound before trying to inject PDUs.
Link: https://lore.kernel.org/r/[email protected]
Tested-by: Manish Rangankar <[email protected]>
Reviewed-by: Lee Duncan <[email protected]>
Reviewed-by: Chris Leech <[email protected]>
Signed-off-by: Mike Christie <[email protected]>
Signed-off-by: Martin K. Petersen <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions