1. 11 8月, 2011 1 次提交
  2. 30 4月, 2011 2 次提交
  3. 07 4月, 2011 1 次提交
  4. 28 3月, 2011 1 次提交
    • S
      net: fix ethtool->set_flags not intended -EINVAL return value · 673e63c6
      Stanislaw Gruszka 提交于
      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: NStanislaw Gruszka <sgruszka@redhat.com>
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      673e63c6
  5. 16 3月, 2011 1 次提交
  6. 04 1月, 2011 1 次提交
  7. 01 7月, 2010 1 次提交
  8. 29 6月, 2010 1 次提交
  9. 13 5月, 2010 1 次提交
  10. 30 3月, 2010 1 次提交
  11. 15 1月, 2010 1 次提交
  12. 04 1月, 2010 2 次提交
  13. 04 12月, 2009 1 次提交
  14. 28 10月, 2009 1 次提交
  15. 14 10月, 2009 1 次提交
  16. 12 9月, 2009 1 次提交
  17. 07 9月, 2009 1 次提交
  18. 02 9月, 2009 1 次提交
  19. 24 8月, 2009 2 次提交
  20. 28 7月, 2009 2 次提交
  21. 29 4月, 2009 1 次提交
  22. 09 4月, 2009 4 次提交
  23. 15 3月, 2009 1 次提交
  24. 10 3月, 2009 2 次提交
  25. 27 2月, 2009 1 次提交
  26. 25 2月, 2009 2 次提交
  27. 27 1月, 2009 1 次提交
  28. 15 1月, 2009 1 次提交
  29. 22 11月, 2008 1 次提交
  30. 03 9月, 2008 1 次提交
  31. 24 8月, 2008 1 次提交