]> git.karo-electronics.de Git - linux-beck.git/commit
[SCSI] bnx2fc: Release the reference to hba only after the interface is destroyed
authorNithin Nayak Sujir <nsujir@broadcom.com>
Mon, 25 Apr 2011 19:30:07 +0000 (12:30 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Sun, 1 May 2011 16:52:18 +0000 (11:52 -0500)
commit0117ddb0c8df8e107bc8e9713c6638270638fff9
tree3669946a4f7fe40a6624d7421d203be9c9aac557
parent112f661d6dac9af1235d2d05299fc2c9cb876ae7
[SCSI] bnx2fc: Release the reference to hba only after the interface is destroyed

Prematurely decrementing the reference may lead to cmd_mgr becoming NULL with
the cmds are still active.

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c