Commit e70f61eb authored by Bhanu Prakash Gollapudi's avatar Bhanu Prakash Gollapudi Committed by Greg Kroah-Hartman
Browse files

bnx2fc: scsi_dma_unmap() not invoked on IO completions



commit b5a95fe7 upstream.

Do not set io_req->sc_cmd to NULL until bnx2fc_unmap_sg_list() is called to
enable it to unmap the DMA mappings.

Signed-off-by: default avatarBhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: default avatarJames Bottomley <JBottomley@Parallels.com>
parent 49aa932d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment