• Erez Zilber's avatar
    IB/iser: Handle aborting a command after it is sent · 3104a217
    Erez Zilber authored
    The SCSI midlayer may abort a command that was already sent.  If the
    initiator is still trying to send the command (or data-out PDUs for
    that command), the QP may time out after the midlayer times
    out. Therefore, when aborting the command, iSER may still have
    references for the command's buffers.  When sending these PDUs, the
    sends will complete with an error and their resources will be released
    then.
    Signed-off-by: default avatarErez Zilber <erezz@voltaire.com>
    Signed-off-by: default avatarRoland Dreier <rolandd@cisco.com>
    3104a217
iser_initiator.c 20.1 KB