[SCSI] bnx2fc: fix panic in bnx2fc_post_io_req
authorBhanu Prakash Gollapudi <bprakash@broadcom.com>
Tue, 24 Jan 2012 02:00:46 +0000 (18:00 -0800)
committerJames Bottomley <JBottomley@Parallels.com>
Sun, 19 Feb 2012 14:08:58 +0000 (08:08 -0600)
commit2a7b29c5f267c143e280c1a5174a0d930bd6c1e3
tree85c58f26d3eaac2cf183e765fd023d5c54d0aa41
parent9f71af2febd53620a379d71527f98bbc2ba67e61
[SCSI] bnx2fc: fix panic in bnx2fc_post_io_req

System panics while accessing stale pointer - timer_work_queue - in the IO path
before bnx2fc_stop is called. Fix is to destroy the workqueue after the destroy
operation is complete.

Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c