1. 17 4月, 2013 2 次提交
  2. 27 3月, 2013 1 次提交
  3. 04 1月, 2013 1 次提交
  4. 08 12月, 2012 1 次提交
  5. 04 12月, 2012 1 次提交
  6. 17 7月, 2012 1 次提交
  7. 11 7月, 2012 1 次提交
  8. 07 6月, 2012 1 次提交
    • J
      ethernet: Remove casts to same type · 64699336
      Joe Perches 提交于
      Adding casts of objects to the same type is unnecessary
      and confusing for a human reader.
      
      For example, this cast:
      
              int y;
              int *p = (int *)&y;
      
      I used the coccinelle script below to find and remove these
      unnecessary casts.  I manually removed the conversions this
      script produces of casts with __force, __iomem and __user.
      
      @@
      type T;
      T *p;
      @@
      
      -       (T *)p
      +       p
      
      A function in atl1e_main.c was passed a const pointer
      when it actually modified elements of the structure.
      
      Change the argument to a non-const pointer.
      
      A function in stmmac needed a __force to avoid a sparse
      warning.  Added it.
      Signed-off-by: NJoe Perches <joe@perches.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      64699336
  9. 16 4月, 2012 7 次提交
  10. 14 4月, 2012 1 次提交
  11. 18 2月, 2012 1 次提交
  12. 23 11月, 2011 1 次提交
  13. 19 10月, 2011 1 次提交
  14. 08 10月, 2011 1 次提交
  15. 07 10月, 2011 1 次提交
  16. 31 8月, 2011 1 次提交
  17. 18 8月, 2011 1 次提交
  18. 12 8月, 2011 1 次提交
  19. 27 7月, 2011 1 次提交
  20. 22 7月, 2011 1 次提交
  21. 30 4月, 2011 2 次提交
  22. 26 4月, 2011 1 次提交
  23. 17 4月, 2011 1 次提交
  24. 08 4月, 2011 1 次提交
  25. 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
  26. 12 2月, 2011 1 次提交
  27. 04 1月, 2011 1 次提交
  28. 17 12月, 2010 1 次提交
  29. 04 11月, 2010 1 次提交
  30. 25 10月, 2010 1 次提交
  31. 21 10月, 2010 1 次提交
  32. 27 9月, 2010 1 次提交