iwlwifi: pcie: fix race in queue unmapping
authorEmmanuel Grumbach <emmanuel.grumbach@intel.com>
Thu, 13 Jun 2013 08:45:59 +0000 (11:45 +0300)
committerJohannes Berg <johannes.berg@intel.com>
Thu, 13 Jun 2013 14:43:55 +0000 (16:43 +0200)
commitb967613d7e7c7bad176f5627c55e2d8c5aa2480e
treee91c153f858540e04ed6d7cf9261cb5a711feb21
parent622ebe994f6866b8d46ee5d3bcc329ed65d3722d
iwlwifi: pcie: fix race in queue unmapping

When a queue is disabled, it frees all its entries. Later,
the op_mode might still get notifications from the firmware
that triggers to free entries in the tx queue. The transport
should be prepared for these races and know to ignore
reclaim calls on queues that have been disabled and whose
entries have been freed.

Cc: stable@vger.kernel.org
Signed-off-by: Emmanuel Grumbach <emmanuel.grumbach@intel.com>
Signed-off-by: Johannes Berg <johannes.berg@intel.com>
drivers/net/wireless/iwlwifi/pcie/tx.c
This page took 0.030218 seconds and 5 git commands to generate.