]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
mac80211: Add RTNL warning for workqueue
authorIvo van Doorn <ivdoorn@gmail.com>
Tue, 24 Jun 2008 17:23:36 +0000 (19:23 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 27 Jun 2008 13:09:20 +0000 (09:09 -0400)
commit428da76523e4a9c08bdfadc25a05b520f19b9133
tree4fcdffdd45b38e81f11631867aaf75db676e3b9c
parentf37d08bddc5cb8de18e55f2b0a401b3eb6269af4
mac80211: Add RTNL warning for workqueue

The workqueue provided by mac80211 should not be used for
scheduled tasks that acquire the RTNL lock. This could be done
when the driver uses the function ieee80211_iterate_active_interfaces()
within the scheduled work. Such behavior will end in locking
dependencies problems when an interface is being removed.

This patch will add a notification about the RTNL locking and
the mac80211 workqueue to prevent driver developers from
blindly using it.

Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Acked-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
include/net/mac80211.h