1. 10 4月, 2012 2 次提交
  2. 06 3月, 2012 1 次提交
  3. 28 2月, 2012 1 次提交
  4. 29 11月, 2011 1 次提交
  5. 10 11月, 2011 1 次提交
  6. 09 11月, 2011 1 次提交
  7. 01 10月, 2011 1 次提交
  8. 14 9月, 2011 2 次提交
  9. 25 8月, 2011 2 次提交
  10. 23 8月, 2011 2 次提交
  11. 17 5月, 2011 3 次提交
    • J
      mac80211: annotate and fix RCU in mesh code · 349eb8cf
      Johannes Berg 提交于
      This adds proper RCU annotations to the mesh path
      table code, and fixes a number of bugs in the code
      that I found while checking the sparse warnings I
      got as a result of the annotations.
      
      Some things like the changes in mesh_path_add() or
      mesh_pathtbl_init() only serve to shut up sparse,
      but other changes like the changes surrounding the
      for_each_mesh_entry() macro fix real RCU bugs in
      the code.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      349eb8cf
    • J
      mac80211: fix and simplify mesh locking · 1928ecab
      Johannes Berg 提交于
      The locking in mesh_{mpath,mpp}_table_grow not only
      has an rcu_read_unlock() missing, it's also racy
      (though really only technically since it's invoked
      from a single function only) since it obtains the
      new size of the table without any locking, so two
      invocations of the function could attempt the same
      resize.
      
      Additionally, it uses synchronize_rcu() which is
      rather expensive and can be avoided trivially here.
      
      Modify the functions to only use the table lock
      and use call_rcu() instead of synchronize_rcu().
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      1928ecab
    • J
      mac80211: sparse RCU annotations · 40b275b6
      Johannes Berg 提交于
      This adds sparse RCU annotations to most of
      mac80211, only the mesh code remains to be
      done.
      
      Due the the previous patches, the annotations
      are pretty simple. The only thing that this
      actually changes is removing the RCU usage of
      key->sta in debugfs since this pointer isn't
      actually an RCU-managed pointer (it only has
      a single assignment done before the key even
      goes live). As that is otherwise harmless, I
      decided to make it part of this patch.
      Signed-off-by: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      40b275b6
  12. 13 5月, 2011 1 次提交
  13. 13 4月, 2011 1 次提交
  14. 21 12月, 2010 2 次提交
  15. 16 12月, 2010 1 次提交
  16. 07 12月, 2010 2 次提交
  17. 09 8月, 2010 1 次提交
  18. 15 6月, 2010 1 次提交
  19. 09 4月, 2010 1 次提交
  20. 11 12月, 2009 1 次提交
  21. 19 11月, 2009 1 次提交
  22. 14 11月, 2009 5 次提交
  23. 12 11月, 2009 3 次提交
  24. 20 8月, 2009 1 次提交
  25. 14 8月, 2009 2 次提交