1. 16 4月, 2012 3 次提交
  2. 18 2月, 2012 1 次提交
  3. 23 11月, 2011 1 次提交
  4. 19 10月, 2011 1 次提交
  5. 08 10月, 2011 1 次提交
  6. 07 10月, 2011 1 次提交
  7. 31 8月, 2011 1 次提交
  8. 18 8月, 2011 1 次提交
  9. 12 8月, 2011 1 次提交
  10. 27 7月, 2011 1 次提交
  11. 22 7月, 2011 1 次提交
  12. 30 4月, 2011 2 次提交
  13. 26 4月, 2011 1 次提交
  14. 17 4月, 2011 1 次提交
  15. 08 4月, 2011 1 次提交
  16. 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
  17. 12 2月, 2011 1 次提交
  18. 04 1月, 2011 1 次提交
  19. 17 12月, 2010 1 次提交
  20. 04 11月, 2010 1 次提交
  21. 25 10月, 2010 1 次提交
  22. 21 10月, 2010 1 次提交
  23. 27 9月, 2010 1 次提交
  24. 23 9月, 2010 2 次提交
  25. 03 9月, 2010 1 次提交
  26. 26 8月, 2010 1 次提交
  27. 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
  28. 15 4月, 2010 1 次提交
  29. 27 3月, 2010 1 次提交
  30. 08 1月, 2010 1 次提交
  31. 04 12月, 2009 1 次提交
  32. 19 11月, 2009 1 次提交
  33. 14 10月, 2009 1 次提交
  34. 01 9月, 2009 1 次提交
  35. 10 8月, 2009 1 次提交
  36. 12 6月, 2009 1 次提交