mac80211: annotate station rcu dereferences
authorJohannes Berg <johannes@sipsolutions.net>
Tue, 6 Apr 2010 09:18:42 +0000 (11:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 6 Apr 2010 19:53:30 +0000 (15:53 -0400)
commit0379185b6c0d1e8252023698cf1091da92a3dc03
treef4dfe150ef44b2b94d94c982f8bddf9c44c4294d
parent1cb561f83793191cf86a2db3948d28f5f42df9ff
mac80211: annotate station rcu dereferences

The new RCU lockdep support warns about these
in some contexts -- make it aware of the locks
used to protect all this. Different locks are
used in different contexts which unfortunately
means we can't get perfect checking.

Also remove rcu_dereference() from two places
that don't actually dereference the pointers.

Signed-off-by: Johannes Berg <johannes@sipsolutions.net>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/mac80211/main.c
net/mac80211/sta_info.c