Search Linux Wireless

Re: [PATCH 06/12] cfg80211: some workqueue improvements

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-04-21 at 12:53 +0800, Zhao, Gang wrote:
> Works rdev->rfkill_sync and rdev->sched_scan_results_wk are safely
> stopped when unregistering wiphy.
> 
> Work reg_regdb_work is safely stopped in regulatory_exit(), if related
> config option is enabled.
> 
> Queue work cfg80211_disconnect_work to workqueue cfg80211_wq, since
> it's a work owned by cfg80211, and so it can be safely stopped in
> destroy_workqueue(cfg80211_wq) in cfg80211_exit().

Nope ... think about locking.

> Change flush_work() to more robust cancel_work_sync().

These are not equivalent.

johannes

--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Wireless Personal Area Network]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite Hiking]     [MIPS Linux]     [ARM Linux]     [Linux RAID]

  Powered by Linux