Alan Jenkins d4c4a9a1bc mac80211: fix modprobe deadlock by not calling wep_init under rtnl_lock
- ieee80211_wep_init(), which is called with rtnl_lock held, blocks in
   request_module() [waiting for modprobe to load a crypto module].

 - modprobe blocks in a call to flush_workqueue(), when it closes a TTY
   [presumably when it exits].

 - The workqueue item linkwatch_event() blocks on rtnl_lock.

There's no reason for wep_init() to be called with rtnl_lock held, so
just move it outside the critical section.

Signed-off-by: Alan Jenkins <alan-jenkins@tuffmail.co.uk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-04-29 16:48:33 -04:00
..
2009-04-20 02:14:59 -07:00
2009-01-04 17:29:21 -08:00
2009-03-21 13:36:17 -07:00
2009-04-14 02:21:41 -07:00
2009-04-22 00:49:51 -07:00
2009-03-31 23:00:26 -04:00
2009-02-26 23:43:35 -08:00