1. 28 Nov, 2011 36 commits
  2. 22 Nov, 2011 2 commits
  3. 21 Nov, 2011 2 commits
    • 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
    • Johannes Berg's avatar
      cfg80211: work around a sparse issue · 11a2a357
      Johannes Berg authored
      
      
      sparse reports:
      net/wireless/util.c:499:30: error: cannot size expression
      net/wireless/util.c:503:30: error: cannot size expression
      
      This is evidently due to the EXPORT_SYMBOL() of the
      bridge_tunnel_header and rfc1042 header variables.
      Move them to the end of the file to work around the
      sparse issue. The error itself from sparse can be
      ignored safely, but since sparse stops parsing at
      errors, other issues after this would go undetected.
      Signed-off-by: default avatarJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
      11a2a357