1. 28 Nov, 2011 37 commits
  2. 22 Nov, 2011 2 commits
  3. 21 Nov, 2011 1 commit
    • Johannes Berg's avatar
      mac80211: fix RCU warnings in mesh · 30be52e4
      Johannes Berg authored
      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: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      30be52e4