]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 01:36:53 +0000 (09:36 +0800)
commit8c2206f521288a3352deb2a887d09aab5caa67df
tree120fa423bd56a8e90881981a6b19cb94377ff95b
parenta2e8d94416a99fde280b57d8d19c1b08497d834a
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>
(cherry picked from commit 2a7b29c5f267c143e280c1a5174a0d930bd6c1e3)

Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/scsi/bnx2fc/bnx2fc_fcoe.c