summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/iwmc3200wifi/iwm.h
diff options
context:
space:
mode:
authorZhu Yi <yi.zhu@intel.com>2009-06-15 19:59:48 (GMT)
committerJohn W. Linville <linville@tuxdriver.com>2009-06-19 15:50:16 (GMT)
commit4e9aa52e36a7beb4c0163324a3de759d7cf2e442 (patch)
treec8dd577dd48b8ab7402557e1b2ecdfac2ef8d002 /drivers/net/wireless/iwmc3200wifi/iwm.h
parentd7e057dca3f1b76ff44dd16fefcd493a52614aad (diff)
downloadlinux-fsl-qoriq-4e9aa52e36a7beb4c0163324a3de759d7cf2e442.tar.xz
iwmc3200wifi: fix potential kernel oops on module removal
The iwm_if_free() is called before destroy_workqueue for isr_wq on device remove method. But if there is still some pending work in the isr_wq, the required data structures are already freed at this point. This leeds a kernel oops. The patch fixes this problem by moving iwm_if_free after destroy_workqueue. Signed-off-by: Zhu Yi <yi.zhu@intel.com> Signed-off-by: Samuel Ortiz <samuel.ortiz@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwmc3200wifi/iwm.h')
0 files changed, 0 insertions, 0 deletions