Skip to contentSkip to conversation

: iwlwifi 4965 Fix race conditional panic.

PATCH In review Joonwoo Park 1 participant 1 message Nov 28, 2007

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 2/2 : iwlwifi 4965 Fix race conditional panic.

I think 4965 may suffer it too, but I could not test.

Thanks
Joonwoo

[net/wireless/iwlwifi] : iwlwifi 4965 Fix race conditional panic.

---

drivers/net/wireless/iwlwifi/iwl4965-base.c +1 -0
index 9918780..a71a572 100644
@@ -9165,6 +9165,7 @@ static void iwl_pci_remove(struct pci_dev *pdev)
 	IWL_DEBUG_INFO("*** UNLOAD DRIVER ***\n");
 
 	mutex_lock(&priv->mutex);
+	cancel_delayed_work_sync(&priv->init_alive_start);
 	set_bit(STATUS_EXIT_PENDING, &priv->status);
 	__iwl_down(priv);
 	mutex_unlock(&priv->mutex);

---

-------------------------------------------------------------------------
SF.Net email is sponsored by: The Future of Linux Business White Paper from Novell. From the desktop to the data center, Linux is going mainstream. Let it simplify your IT future.
http://altfarm.mediaplex.com/ad/ck/8857-50307-18918-4