Skip to content
Snippets Groups Projects
  1. Jul 21, 2011
  2. Jun 21, 2011
  3. Jun 20, 2011
  4. Jun 09, 2011
  5. Jun 05, 2011
  6. Jun 03, 2011
  7. Apr 29, 2011
  8. Apr 11, 2011
  9. Apr 06, 2011
  10. Mar 31, 2011
  11. Mar 30, 2011
    • Javier Martinez Canillas's avatar
      drivers/net: Remove IRQF_SAMPLE_RANDOM flag from network drivers · ab392d2d
      Javier Martinez Canillas authored
      
      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: default avatarJavier Martinez Canillas <martinez.javier@gmail.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      ab392d2d
  12. Mar 28, 2011
    • Stanislaw Gruszka's avatar
      net: fix ethtool->set_flags not intended -EINVAL return value · 673e63c6
      Stanislaw Gruszka authored
      
      After commit d5dbda23 "ethtool: Add
      support for vlan accleration.", drivers that have NETIF_F_HW_VLAN_TX,
      and/or NETIF_F_HW_VLAN_RX feature, but do not allow enable/disable vlan
      acceleration via ethtool set_flags, always return -EINVAL from that
      function. Fix by returning -EINVAL only if requested features do not
      match current settings and can not be changed by driver.
      
      Change any driver that define ethtool->set_flags to use
      ethtool_invalid_flags() to avoid similar problems in the future
      (also on drivers that do not have the problem).
      
      Tested with modified (to reproduce this bug) myri10ge driver.
      
      Cc: stable@kernel.org # 2.6.37+
      Signed-off-by: default avatarStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      673e63c6
  13. Mar 15, 2011
  14. Mar 14, 2011
  15. Jan 03, 2011
  16. Dec 31, 2010
  17. Dec 21, 2010
  18. Nov 28, 2010
  19. Nov 27, 2010
  20. Nov 03, 2010
    • Amerigo Wang's avatar
      netxen: remove unused firmware exports · 1c260e49
      Amerigo Wang authored
      
      Quote from Amit Salecha:
      
      "Actually I was not updated, NX_UNIFIED_ROMIMAGE_NAME (phanfw.bin) is already
      submitted and its present in linux-firmware.git.
      
      I will get back to you on NX_P2_MN_ROMIMAGE_NAME, NX_P3_CT_ROMIMAGE_NAME and
      NX_P3_MN_ROMIMAGE_NAME. Whether this will be submitted ?"
      
      We have to remove these, otherwise we will get wrong info from modinfo.
      
      Signed-off-by: default avatarWANG Cong <amwang@redhat.com>
      Cc: Amit Kumar Salecha <amit.salecha@qlogic.com>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: Dhananjay Phadke <dhananjay.phadke@qlogic.com>
      Cc: Narender Kumar <narender.kumar@qlogic.com>
      Acked-by: default avatarAmit Kumar Salecha <amit.salecha@qlogic.com&gt;-->
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      1c260e49
  21. Oct 30, 2010
  22. Oct 28, 2010
  23. Oct 21, 2010
  24. Oct 18, 2010
  25. Sep 26, 2010
  26. Sep 21, 2010
  27. Aug 23, 2010
  28. Aug 19, 2010
  29. Aug 08, 2010
  30. Jul 14, 2010
  31. Jun 30, 2010
  32. Jun 29, 2010
  33. Jun 15, 2010
Loading