]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
bnx2fc: scsi_dma_unmap() not invoked on IO completions
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Fri, 27 May 2011 18:47:26 +0000 (11:47 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 18:41:05 +0000 (11:41 -0700)
commite70f61eb1c6ac5048edfd214a72e10c434127931
tree5fdfeef13868e9b4c6d0f98b13cbcd747847b483
parent49aa932d3fe9c6b175d30d9e9d575f532f650cfc
bnx2fc: scsi_dma_unmap() not invoked on IO completions

commit b5a95fe7ef464a67fab6ff870aa740739e788f90 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: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_io.c