1. 14 2月, 2009 1 次提交
  2. 30 1月, 2009 2 次提交
  3. 11 11月, 2008 1 次提交
  4. 01 11月, 2008 1 次提交
  5. 25 9月, 2008 1 次提交
    • J
      mac80211: make master iface not wireless · 133b8226
      Johannes Berg 提交于
      There's no need to register the master netdev with cfg80211,
      in fact, this is quite dangerous and lead to having to add
      checks for the master interface all over the config handlers.
      This patch removes the "ieee80211_ptr" from the master iface
      in favour of having a small netdev_priv() associated with
      the master interface that stores the ieee80211_local pointer.
      Because of this, a lot of code in the configuration handlers
      can go away. To make this patch easier to verify I have also
      removed a number of wiphy_priv() calls in favour of getting
      the sdata first and then the local pointer from that.
      Signed-off-by: NJohannes Berg <johannes@sipsolutions.net>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      133b8226
  6. 16 9月, 2008 3 次提交
  7. 27 8月, 2008 1 次提交
    • J
      net/mac80211/mesh.c: correct the argument to __mesh_table_free · 667d8af9
      Julia Lawall 提交于
      In the function mesh_table_grow, it is the new table not the argument table
      that should be freed if the function fails (cf commit
      bd9b448f)
      
      The semantic match that detects this problem is as follows:
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      @r exists@
      local idexpression x;
      expression E,f;
      position p1,p2,p3;
      identifier l;
      statement S;
      @@
      
      x = mesh_table_alloc@p1(...)
      ...
      if (x == NULL) S
      ... when != E = x
          when != mesh_table_free(x)
      goto@p2 l;
      ... when != E = x
          when != f(...,x,...)
          when any
      (
      return \(0\|x\);
      |
      return@p3 ...;
      )
      
      @script:python@
      p1 << r.p1;
      p2 << r.p2;
      p3 << r.p3;
      @@
      
      print "%s: call on line %s not freed or saved before return on line %s via line %s" % (p1[0].file,p1[0].line,p3[0].line,p2[0].line)
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NJohn W. Linville <linville@tuxdriver.com>
      667d8af9
  8. 23 8月, 2008 1 次提交
  9. 22 5月, 2008 3 次提交
  10. 13 5月, 2008 1 次提交
  11. 01 5月, 2008 1 次提交
  12. 09 4月, 2008 1 次提交
  13. 02 4月, 2008 1 次提交
  14. 07 3月, 2008 5 次提交