diff options
author | Reinette Chatre <reinette.chatre@intel.com> | 2009-10-30 14:36:10 -0700 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-11-02 15:39:46 -0500 |
commit | c33de6256a07869b48830e3a26fb6942ea8c4f79 (patch) | |
tree | 0e6e52d104120b5881613e73e7472eac7ded2f56 /drivers/net/wireless/iwlwifi/iwl-agn.c | |
parent | c2e61da29d92df864dc5eec81d774199b02d7023 (diff) | |
download | lwn-c33de6256a07869b48830e3a26fb6942ea8c4f79.tar.gz lwn-c33de6256a07869b48830e3a26fb6942ea8c4f79.zip |
iwlwifi: unmap memory before use
Handling responses to driver originated commands include passing the
original command buffer to the caller. At this time it is possible for a
callback to be invoked that is passed this command buffer and thus likely
to access it.
We need to make sure that the memory associated with that buffer is not DMA
mapped at the time.
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-agn.c')
0 files changed, 0 insertions, 0 deletions