1
0
Files
linux/net/mac80211
Johannes Berg 30be52e44f 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>
2011-11-21 16:22:10 -05:00
..
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:24 -04:00
2011-07-08 11:11:20 -04:00
2011-11-21 16:22:06 -05:00
2011-07-08 11:11:20 -04:00
2011-11-21 16:22:06 -05:00
2011-01-05 16:07:12 -05:00
2011-11-21 16:22:06 -05:00
2011-11-21 16:22:06 -05:00
2011-11-21 16:22:06 -05:00
2011-03-31 11:26:23 -03:00
2011-11-09 16:13:53 -05:00
2011-11-11 12:32:49 -05:00
2011-11-09 16:14:09 -05:00
2011-11-21 16:22:06 -05:00
2011-11-21 16:20:42 -05:00
2011-11-21 16:22:06 -05:00
2011-11-21 16:20:42 -05:00