Thread (1 message) 1 message, 1 author, 2012-09-17

Re: [PATCH] ib_srp: Fix use-after-free in srp_reset_req()

From: David Dillow <hidden>
Date: 2012-09-17 19:31:50

On Fri, 2012-08-24 at 10:27 +0000, Bart Van Assche wrote:
srp_free_req() uses the scsi_cmnd structure contents to unmap
buffers, so we must invoke srp_free_req() before we release
ownership of that structure.

Signed-off-by: Bart Van Assche <redacted>
Acked-by: David Dillow <redacted>
Cc: Roland Dreier <redacted>
Roland, are you planning to apply this one and the one Bart has that
fixes the error handling (srp_aport)? I didn't see them in your pull
request.

Thanks,
-- 
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help