1. 26 4月, 2007 1 次提交
  2. 26 3月, 2007 1 次提交
    • R
      [NET] AX.25 Kconfig and docs updates and fixes · 954b2e7f
      Ralf Baechle 提交于
       o The AX.25 Howto is unmaintained since several years.  I've replaced it
         with a wiki at http://www.linux-ax25.org which provides more uptodate
         information.
       o Change default for AX25_DAMA_SLAVE to Y.  AX25_DAMA_SLAVE only compiles
         in support for DAMA but doesn't activate it.  I hope this gets Linux
         distributions to ship their AX.25 kernels with AX25_DAMA_SLAVE enabled.
         The price for this would be very small.
       o Delete historic changelog from comments, that's what SCM systems are
         meant to do.
       o ---help--- in Kconfig looks so yellingly eye insulting.  Use just help.
       o Rewrite the commented out piece of old Linux 2.4 configuration language
         to Kconfig for consistency.
       o Fixup dependencies.
      Signed-off-by: NRalf Baechle <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      954b2e7f
  3. 15 2月, 2007 3 次提交
  4. 13 2月, 2007 1 次提交
  5. 11 2月, 2007 1 次提交
  6. 18 12月, 2006 4 次提交
  7. 12 12月, 2006 1 次提交
  8. 09 12月, 2006 2 次提交
  9. 03 12月, 2006 1 次提交
    • A
      [AX25]: Use kmemdup · 0459d70a
      Arnaldo Carvalho de Melo 提交于
      Code diff stats:
      
      [acme@newtoy net-2.6.20]$ codiff /tmp/ax25.ko.before /tmp/ax25.ko.after
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/ax25_out.c:
        ax25_send_frame |   -8
       1 function changed, 8 bytes removed
      
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/ax25_route.c:
        ax25_rt_autobind |  -15
       1 function changed, 15 bytes removed
      
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/af_ax25.c:
        ax25_make_new |  -33
       1 function changed, 33 bytes removed
      
      /pub/scm/linux/kernel/git/acme/net-2.6.20/net/ax25/sysctl_net_ax25.c:
        ax25_register_sysctl |  -21
       1 function changed, 21 bytes removed
      
      /tmp/ax25.ko.after:
       4 functions changed, 77 bytes removed
      [acme@newtoy net-2.6.20]$
      Signed-off-by: NArnaldo Carvalho de Melo <acme@mandriva.com>
      0459d70a
  10. 22 7月, 2006 1 次提交
  11. 13 7月, 2006 2 次提交
  12. 11 7月, 2006 1 次提交
  13. 10 7月, 2006 1 次提交
  14. 04 7月, 2006 1 次提交
  15. 01 7月, 2006 1 次提交
  16. 04 5月, 2006 3 次提交
  17. 20 3月, 2006 1 次提交
    • R
      [AX.25]: Fix potencial memory hole. · c7c694d1
      Ralf Baechle DL5RB 提交于
      If the AX.25 dialect chosen by the sysadmin is set to DAMA master / 3
      (or DAMA slave / 2, if CONFIG_AX25_DAMA_SLAVE=n) ax25_kick() will fall
      through the switch statement without calling ax25_send_iframe() or any
      other function that would eventually free skbn thus leaking the packet.
      
      Fix by restricting the sysctl inferface to allow only actually supported
      AX.25 dialects.
      
      The system administration mistake needed for this to happen is rather
      unlikely, so this is an uncritical hole.
      
      Coverity #651.
      Signed-off-by: NRalf Baechle DL5RB <ralf@linux-mips.org>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      c7c694d1
  18. 12 1月, 2006 1 次提交
  19. 04 1月, 2006 2 次提交
    • C
      [NET]: Add a dev_ioctl() fallback to sock_ioctl() · b5e5fa5e
      Christoph Hellwig 提交于
      Currently all network protocols need to call dev_ioctl as the default
      fallback in their ioctl implementations.  This patch adds a fallback
      to dev_ioctl to sock_ioctl if the protocol returned -ENOIOCTLCMD.
      This way all the procotol ioctl handlers can be simplified and we don't
      need to export dev_ioctl.
      Signed-off-by: NChristoph Hellwig <hch@lst.de>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b5e5fa5e
    • E
      [NET]: move struct proto_ops to const · 90ddc4f0
      Eric Dumazet 提交于
      I noticed that some of 'struct proto_ops' used in the kernel may share
      a cache line used by locks or other heavily modified data. (default
      linker alignement is 32 bytes, and L1_CACHE_LINE is 64 or 128 at
      least)
      
      This patch makes sure a 'struct proto_ops' can be declared as const,
      so that all cpus can share all parts of it without false sharing.
      
      This is not mandatory : a driver can still use a read/write structure
      if it needs to (and eventually a __read_mostly)
      
      I made a global stubstitute to change all existing occurences to make
      them const.
      
      This should reduce the possibility of false sharing on SMP, and
      speedup some socket system calls.
      Signed-off-by: NEric Dumazet <dada1@cosmosbay.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      90ddc4f0
  20. 09 11月, 2005 1 次提交
  21. 06 10月, 2005 1 次提交
  22. 13 9月, 2005 4 次提交
  23. 09 9月, 2005 1 次提交
  24. 07 9月, 2005 1 次提交
  25. 30 8月, 2005 3 次提交