1. 06 3月, 2010 2 次提交
  2. 16 2月, 2010 2 次提交
  3. 11 2月, 2010 2 次提交
  4. 29 11月, 2009 3 次提交
  5. 26 11月, 2009 1 次提交
  6. 19 11月, 2009 1 次提交
  7. 12 11月, 2009 1 次提交
    • E
      sysctl net: Remove unused binary sysctl code · f8572d8f
      Eric W. Biederman 提交于
      Now that sys_sysctl is a compatiblity wrapper around /proc/sys
      all sysctl strategy routines, and all ctl_name and strategy
      entries in the sysctl tables are unused, and can be
      revmoed.
      
      In addition neigh_sysctl_register has been modified to no longer
      take a strategy argument and it's callers have been modified not
      to pass one.
      
      Cc: "David Miller" <davem@davemloft.net>
      Cc: Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
      Cc: netdev@vger.kernel.org
      Signed-off-by: NEric W. Biederman <ebiederm@xmission.com>
      f8572d8f
  8. 07 11月, 2009 1 次提交
    • A
      net/x25: push BKL usage into x25_proto · 91774904
      Arnd Bergmann 提交于
      The x25 driver uses lock_kernel() implicitly through
      its proto_ops wrapper. The makes the usage explicit
      in order to get rid of that wrapper and to better document
      the usage of the BKL.
      
      The next step should be to get rid of the usage of the BKL
      in x25 entirely, which requires understanding what data
      structures need serialized accesses.
      
      Cc: Henner Eisen <eis@baty.hanse.de>
      Cc: David S. Miller <davem@davemloft.net>
      Cc: linux-x25@vger.kernel.org
      Cc: netdev@vger.kernel.org
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      91774904
  9. 06 11月, 2009 1 次提交
  10. 29 10月, 2009 1 次提交
  11. 13 10月, 2009 1 次提交
  12. 07 10月, 2009 1 次提交
  13. 01 10月, 2009 1 次提交
  14. 13 7月, 2009 1 次提交
  15. 18 6月, 2009 1 次提交
  16. 17 6月, 2009 1 次提交
  17. 16 6月, 2009 1 次提交
  18. 27 3月, 2009 1 次提交
  19. 14 3月, 2009 1 次提交
  20. 10 3月, 2009 1 次提交
  21. 01 2月, 2009 1 次提交
  22. 04 11月, 2008 1 次提交
    • A
      net: '&' redux · 6d9f239a
      Alexey Dobriyan 提交于
      I want to compile out proc_* and sysctl_* handlers totally and
      stub them to NULL depending on config options, however usage of &
      will prevent this, since taking adress of NULL pointer will break
      compilation.
      
      So, drop & in front of every ->proc_handler and every ->strategy
      handler, it was never needed in fact.
      Signed-off-by: NAlexey Dobriyan <adobriyan@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      6d9f239a
  23. 20 7月, 2008 1 次提交
  24. 17 6月, 2008 2 次提交
  25. 26 3月, 2008 2 次提交
  26. 29 2月, 2008 1 次提交
  27. 01 2月, 2008 1 次提交
  28. 29 1月, 2008 5 次提交
  29. 04 1月, 2008 1 次提交
    • J
      [X25]: Add missing x25_neigh_put · 76975f8a
      Julia Lawall 提交于
      The function x25_get_neigh increments a reference count.  At the point of
      the second goto out, the result of calling x25_get_neigh is only stored in
      a local variable, and thus no one outside the function will be able to
      decrease the reference count.  Thus, x25_neigh_put should be called before
      the return in this case.
      
      The problem was found using the following semantic match.
      (http://www.emn.fr/x-info/coccinelle/)
      
      // <smpl>
      
      @@
      type T,T1,T2;
      identifier E;
      statement S;
      expression x1,x2,x3;
      int ret;
      @@
      
        T E;
        ...
      * if ((E = x25_get_neigh(...)) == NULL)
        S
        ... when != x25_neigh_put(...,(T1)E,...)
            when != if (E != NULL) { ... x25_neigh_put(...,(T1)E,...); ...}
            when != x1 = (T1)E
            when != E = x3;
            when any
        if (...) {
          ... when != x25_neigh_put(...,(T2)E,...)
              when != if (E != NULL) { ... x25_neigh_put(...,(T2)E,...); ...}
              when != x2 = (T2)E
      (
      *   return;
      |
      *   return ret;
      )
        }
      // </smpl>
      Signed-off-by: NJulia Lawall <julia@diku.dk>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      76975f8a