summaryrefslogtreecommitdiffstats
path: root/net/mac80211/offchannel.c
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2011-11-21 11:23:50 +0100
committerJohn W. Linville <linville@tuxdriver.com>2011-11-21 16:22:10 -0500
commit30be52e44fd4276d768efffb55d424fb682e6505 (patch)
tree15ccf1db03149f280c23056922b33c520d101279 /net/mac80211/offchannel.c
parent11a2a357a9d8e058db032883ffd535bf4ad6a899 (diff)
downloadop-kernel-dev-30be52e44fd4276d768efffb55d424fb682e6505.zip
op-kernel-dev-30be52e44fd4276d768efffb55d424fb682e6505.tar.gz
mac80211: fix RCU warnings in mesh
Sparse RCU checking reports two warnings in the mesh path table code. These are due to questionable uses of rcu_dereference. To fix the first one, get rid of mesh_gate_add() and just make mesh_path_add_gate() do the correct deref. To fix the second one, simply remove rcu_dereference() in mesh_gate_del() -- it already gets a proper pointer as indicated by the prototype (no __rcu annotation) and confirmed by the code. Cc: Javier Cardona <javier@cozybit.com> Cc: Thomas Pedersen <thomas@cozybit.com> Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'net/mac80211/offchannel.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud