“80c663882adb27af5b8e8b6ae3e4639b534c5c8a”上不存在“build_tools/fbcode.clang31.sh”
  1. 10 5月, 2012 1 次提交
    • J
      mac80211: Convert compare_ether_addr to ether_addr_equal · b203ca39
      Joe Perches 提交于
      Use the new bool function ether_addr_equal to add
      some clarity and reduce the likelihood for misuse
      of compare_ether_addr for sorting.
      
      Done via cocci script:
      
      $ cat compare_ether_addr.cocci
      @@
      expression a,b;
      @@
      -	!compare_ether_addr(a, b)
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	compare_ether_addr(a, b)
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) == 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!ether_addr_equal(a, b) != 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) == 0
      +	!ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	ether_addr_equal(a, b) != 0
      +	ether_addr_equal(a, b)
      
      @@
      expression a,b;
      @@
      -	!!ether_addr_equal(a, b)
      +	ether_addr_equal(a, b)
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b203ca39
  2. 13 4月, 2012 1 次提交
  3. 08 3月, 2012 1 次提交
    • T
      mac80211: fix smatch lock errors in mesh · f06c7885
      Thomas Pedersen 提交于
      smatch was complaining:
      
      CHECK   net/mac80211/mesh_pathtbl.c
      net/mac80211/mesh_pathtbl.c:562 mesh_path_add() error: double lock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:580 mesh_path_add() error: double unlock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:589 mesh_path_add() error: double unlock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:691 mpp_path_add() error: double lock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:707 mpp_path_add() error: double unlock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:716 mpp_path_add() error: double unlock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:814 mesh_path_flush_by_nexthop() error:
      double lock 'bottom_half:'
      net/mac80211/mesh_pathtbl.c:819 mesh_path_flush_by_nexthop() error:
      double unlock 'bottom_half:'
      net/mac80211/mesh_pathtbl.c:887 mesh_path_del() error: double lock
      'bottom_half:'
      net/mac80211/mesh_pathtbl.c:901 mesh_path_del() error: double unlock
      'bottom_half:'
      
      So don't lock / unlock with _bh() while bottom halves are already
      disabled.
      Reported-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NThomas Pedersen <thomas@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      f06c7885
  4. 06 3月, 2012 1 次提交
  5. 22 2月, 2012 1 次提交
  6. 09 2月, 2012 1 次提交
    • L
      mac80211: rename mesh static path_lookup() · 5ad20dd1
      Luis R. Rodriguez 提交于
      If you want to use mesh support from mac80211 on a recent
      kernel on 2.6.24 you'll run into a name clash when compiling
      against include/linux/namei.h, so rename this routine.
      
      /home/mcgrof/tmp/compat-wireless-3.2.5-1/net/mac80211/mesh_pathtbl.c: At top level:
      /home/mcgrof/tmp/compat-wireless-3.2.5-1/net/mac80211/mesh_pathtbl.c:342:26: error: conflicting types for ‘path_lookup’
      include/linux/namei.h:71:12: note: previous declaration of ‘path_lookup’ was here
      
      Although this could sit as a separate patch in compat-wireless it seems
      best to just merge upstream.
      
      Cc: Javier Cardona <javier@cozybit.com>
      Signed-off-by: NLuis R. Rodriguez <mcgrof@frijolero.org>
      Acked-by: NJavier Cardona <javier@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      5ad20dd1
  7. 29 11月, 2011 2 次提交
  8. 22 11月, 2011 1 次提交
    • J
      mac80211: fix RCU warnings in mesh · 30be52e4
      Johannes Berg 提交于
      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: NJohannes Berg <johannes.berg@intel.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      30be52e4
  9. 10 11月, 2011 1 次提交
  10. 15 9月, 2011 2 次提交
  11. 14 9月, 2011 8 次提交
  12. 30 8月, 2011 1 次提交
  13. 26 8月, 2011 1 次提交
  14. 25 8月, 2011 5 次提交
  15. 23 8月, 2011 1 次提交
  16. 12 8月, 2011 1 次提交
  17. 06 7月, 2011 1 次提交
  18. 20 5月, 2011 1 次提交
  19. 17 5月, 2011 3 次提交
  20. 13 5月, 2011 1 次提交
  21. 12 5月, 2011 2 次提交
  22. 14 4月, 2011 1 次提交
    • C
      mac80211: Allocate new mesh path and portal tables before taking locks · a3e6b12c
      cozybit Inc 提交于
      It is unnecessary to hold the path table resize lock while allocating a
      new table.  Allocate first and take lock later.  This resolves a
      soft-lockup:
      
      [  293.385799] BUG: soft lockup - CPU#0 stuck for 61s! [kworker/u:3:744]
      (...)
      [  293.386049] Call Trace:
      [  293.386049]  [<c119fd04>] do_raw_read_lock+0x26/0x29
      [  293.386049]  [<c14b2982>] _raw_read_lock+0x8/0xa
      [  293.386049]  [<c148c178>] mesh_path_add+0xb7/0x24e
      [  293.386049]  [<c148b98d>] ? mesh_path_lookup+0x1b/0xa6
      [  293.386049]  [<c148ded5>] hwmp_route_info_get+0x276/0x2fd
      [  293.386049]  [<c148dfb6>] mesh_rx_path_sel_frame+0x5a/0x5d9
      [  293.386049]  [<c102667d>] ? update_curr+0x1cf/0x1d7
      [  293.386049]  [<c148b45a>] ieee80211_mesh_rx_queued_mgmt+0x60/0x67
      [  293.386049]  [<c147c374>] ieee80211_iface_work+0x1f0/0x258
      (...)
      Signed-off-by: NJavier Cardona <javier@cozybit.com>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      a3e6b12c
  23. 31 3月, 2011 1 次提交
  24. 07 12月, 2010 1 次提交