D David Dillow #
Message details and related content
On Fri, 2012-08-17 at 05:50 -0400, Bart Van Assche wrote:
Hello Dave, I think I have found two additional (longstanding) ib_srp issues. Do the patches below make sense to you ? If so, do you prefer that I post these as individual patches or that I merge these in the patch called "[PATCH 01/20] ib_srp: Fix a race condition" ?
Separate patches are fine.
[PATCH 1/2] ib_srp: Fix use-after-free in srp_reset_req()
This needs to have a commit message along the lines of
"srp_free_req() uses the scsi_cmnd structure to unmap buffers, so we
must do that before we call release ownership by calling scsi_done()."
But otherwise
Acked-by: David Dillow <redacted>
[PATCH 2/2] ib_srp: Avoid that aborted requests cause I/O to hang
Acked-by: David Dillow <redacted> -- Dave Dillow National Center for Computational Science Oak Ridge National Laboratory (865) 241-6602 office -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org More majordomo info at http://vger.kernel.org/majordomo-info.html