commit | 3a7da39d165e0c363c294feec119db1427032afd | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Thu Mar 17 07:34:32 2011 +0000 |
committer | David S. Miller <davem@davemloft.net> | Fri Mar 18 15:13:11 2011 -0700 |
tree | 901e54990fdd90d6f90d27533c36e61858216e34 | |
parent | 5e5069b41d5b82bcadc1dbf73f48476b428c102f [diff] |
ethtool: Compat handling for struct ethtool_rxnfc This structure was accidentally defined such that its layout can differ between 32-bit and 64-bit processes. Add compat structure definitions and an ioctl wrapper function. Signed-off-by: Ben Hutchings <bhutchings@solarflare.com> Acked-by: Alexander Duyck <alexander.h.duyck@intel.com> Cc: stable@kernel.org [2.6.30+] Signed-off-by: David S. Miller <davem@davemloft.net>