1. 12 8月, 2011 1 次提交
  2. 27 7月, 2011 1 次提交
  3. 22 7月, 2011 1 次提交
  4. 30 4月, 2011 2 次提交
  5. 26 4月, 2011 1 次提交
  6. 17 4月, 2011 1 次提交
  7. 08 4月, 2011 1 次提交
  8. 31 3月, 2011 1 次提交
    • J
      drivers/net: Remove IRQF_SAMPLE_RANDOM flag from network drivers · ab392d2d
      Javier Martinez Canillas 提交于
      The IRQF_SAMPLE_RANDOM flag is marked as deprecated and will be removed.
      
      Every input point to the kernel's entropy pool have to better document the
      type of entropy source it is.
      
      drivers/char/random.c now implements a set of interfaces that can be used for
      devices to collect enviromental noise. IRQF_SAMPLE_RANDOM will be replaced
      with these add_*_randomness exported functions.
      
      Network drivers are not a good source of entropy. They use as a source of
      entropy essentially a remote host. Which means that the source of entropy can
      be potentially controlled by an attacker. Also, with heavy workloads the
      entropy decreases due to less hardware interrupts happening thanks to irq
      mitigation and NAPI.
      
      If a system relies in its network interface as a entropy source it has a false
      sense of security. Systems that don't have devices whose drivers are good
      sources of entropy, should either use a hardware random number generator or
      feed the kernel's entropy pool from userspace using other sources of entropy
      such as EGD, video_entropyd, timer_entropyd and audio-entropyd.
      Signed-off-by: NJavier Martinez Canillas <martinez.javier@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      ab392d2d
  9. 12 2月, 2011 1 次提交
  10. 04 1月, 2011 1 次提交
  11. 17 12月, 2010 1 次提交
  12. 04 11月, 2010 1 次提交
  13. 25 10月, 2010 1 次提交
  14. 21 10月, 2010 1 次提交
  15. 27 9月, 2010 1 次提交
  16. 23 9月, 2010 2 次提交
  17. 03 9月, 2010 1 次提交
  18. 26 8月, 2010 1 次提交
  19. 14 5月, 2010 1 次提交
    • J
      drivers/net: Remove unnecessary returns from void function()s · a4b77097
      Joe Perches 提交于
      This patch removes from drivers/net/ all the unnecessary
      return; statements that precede the last closing brace of
      void functions.
      
      It does not remove the returns that are immediately
      preceded by a label as gcc doesn't like that.
      
      It also does not remove null void functions with return.
      
      Done via:
      $ grep -rP --include=*.[ch] -l "return;\n}" net/ | \
        xargs perl -i -e 'local $/ ; while (<>) { s/\n[ \t\n]+return;\n}/\n}/g; print; }'
      
      with some cleanups by hand.
      
      Compile tested x86 allmodconfig only.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      a4b77097
  20. 15 4月, 2010 1 次提交
  21. 27 3月, 2010 1 次提交
  22. 08 1月, 2010 1 次提交
  23. 04 12月, 2009 1 次提交
  24. 19 11月, 2009 1 次提交
  25. 14 10月, 2009 1 次提交
  26. 01 9月, 2009 1 次提交
  27. 10 8月, 2009 1 次提交
  28. 12 6月, 2009 1 次提交
  29. 29 5月, 2009 1 次提交
  30. 27 5月, 2009 1 次提交
    • A
      atlx: move modinfo data from atlx.h to atl1.c · 5ad18900
      Alex Chiang 提交于
      Both atl1.c and atl2.c include atlx.h, which defines some modinfo
      stuff. But atl2.c seems like it doesn't want the modinfo data
      from atlx.h, as it defines its own.
      
      Running modinfo on atl2.ko, we get conflicting information:
      
      $ /sbin/modinfo drivers/net/atlx/atl2.ko | egrep "version|description|author"
      version:        2.2.3
      description:    Atheros Fast Ethernet Network Driver
      author:         Atheros Corporation <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>
      version:        2.1.3
      author:         Xiong Huang <xiong.huang@atheros.com>, 	Chris Snook <csnook@redhat.com>, Jay Cliburn <jcliburn@gmail.com>
      
      Move the modinfo data out of atlx.h and into atl1.c to eliminate
      the confusion:
      
      $ /sbin/modinfo drivers/net/atlx/atl1.ko | egrep "version|description|author"
      version:        2.1.3
      author:         Xiong Huang <xiong.huang@atheros.com>, 	Chris Snook <csnook@redhat.com>, Jay Cliburn <jcliburn@gmail.com>
      description:    Atheros L1 Gigabit Ethernet Driver
      
      $ /sbin/modinfo drivers/net/atlx/atl2.ko | egrep "version|description|author"
      version:        2.2.3
      description:    Atheros Fast Ethernet Network Driver
      author:         Atheros Corporation <xiong.huang@atheros.com>, Chris Snook <csnook@redhat.com>
      Reported-by: NScott Scriven <scott.scriven@hp.com>
      Signed-off-by: NAlex Chiang <achiang@hp.com>
      Acked-by: NJay Cliburn <jcliburn@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      5ad18900
  31. 14 4月, 2009 1 次提交
  32. 07 4月, 2009 1 次提交
  33. 18 2月, 2009 1 次提交
    • H
      drivers/net/atlx: fix sparse warnings: fix signedness · b79d8fff
      Hannes Eder 提交于
      Impact: While being at it: statics do not need to be initialized with 0.
      
      Fix this sparse warnings:
        drivers/net/atlx/atl1.c:109:1: warning: incorrect type in initializer (different signedness)
        drivers/net/atlx/atl2.c:2870:1: warning: incorrect type in initializer (different signedness)
        drivers/net/atlx/atl2.c:2880:1: warning: incorrect type in initializer (different signedness)
        drivers/net/atlx/atl2.c:2894:1: warning: incorrect type in initializer (different signedness)
        drivers/net/atlx/atl2.c:2904:1: warning: incorrect type in initializer (different signedness)
        drivers/net/atlx/atl2.c:2913:1: warning: incorrect type in initializer (different signedness)
      Signed-off-by: NHannes Eder <hannes@hanneseder.net>
      Acked-by: NJay Cliburn <jcliburn@gmail.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      b79d8fff
  34. 26 12月, 2008 1 次提交
  35. 21 11月, 2008 1 次提交
  36. 20 11月, 2008 1 次提交
  37. 15 11月, 2008 1 次提交
  38. 04 11月, 2008 1 次提交