1. 13 7月, 2010 1 次提交
  2. 12 7月, 2010 1 次提交
  3. 09 7月, 2010 4 次提交
  4. 08 7月, 2010 5 次提交
  5. 06 7月, 2010 3 次提交
  6. 05 7月, 2010 1 次提交
  7. 03 7月, 2010 13 次提交
  8. 02 7月, 2010 3 次提交
  9. 01 7月, 2010 5 次提交
  10. 30 6月, 2010 3 次提交
  11. 29 6月, 2010 1 次提交
    • B
      ethtool: Fix potential user buffer overflow for ETHTOOL_{G, S}RXFH · bf988435
      Ben Hutchings 提交于
      struct ethtool_rxnfc was originally defined in 2.6.27 for the
      ETHTOOL_{G,S}RXFH command with only the cmd, flow_type and data
      fields.  It was then extended in 2.6.30 to support various additional
      commands.  These commands should have been defined to use a new
      structure, but it is too late to change that now.
      
      Since user-space may still be using the old structure definition
      for the ETHTOOL_{G,S}RXFH commands, and since they do not need the
      additional fields, only copy the originally defined fields to and
      from user-space.
      Signed-off-by: NBen Hutchings <bhutchings@solarflare.com>
      Cc: stable@kernel.org
      Signed-off-by: NDavid S. Miller <davem@davemloft.net>
      bf988435