1. 12 Jul, 2010 2 commits
  2. 09 Jul, 2010 1 commit
  3. 08 Jul, 2010 3 commits
  4. 07 Jul, 2010 5 commits
  5. 06 Jul, 2010 3 commits
  6. 04 Jul, 2010 1 commit
  7. 03 Jul, 2010 12 commits
  8. 02 Jul, 2010 3 commits
  9. 01 Jul, 2010 1 commit
  10. 30 Jun, 2010 8 commits
  11. 29 Jun, 2010 1 commit
    • Ben Hutchings's avatar
      ethtool: Fix potential user buffer overflow for ETHTOOL_{G, S}RXFH · bf988435
      Ben Hutchings authored
      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: default avatarBen Hutchings <bhutchings@solarflare.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
      bf988435