cfg80211: rcu-ify rdev and wdev
authorJohannes Berg <johannes@sipsolutions.net>
Sun, 17 Jan 2010 14:49:02 +0000 (15:49 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 19 Jan 2010 21:43:09 +0000 (16:43 -0500)
commit5f2aa25e0e5b221a176ab3d1c51d51da265cb4a7
treeb991f42ad2f5874b6ac3d8fcb1a138e889d70c19
parentc57199bc32ebcd914253496486d2e09b1c9a3de0
cfg80211: rcu-ify rdev and wdev

Future code will need to look up rdev and wdev
within atomic sections, but currently we need
to lock a mutex for such lookups. Change the
list handling for both to be RCU-safe so that
we can look them up in rcu sections instead in
the future.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/core.c
net/wireless/core.h