From: Ben Hutchings Date: Thu, 17 Mar 2011 07:34:32 +0000 (+0000) Subject: ethtool: Compat handling for struct ethtool_rxnfc X-Git-Tag: v2.6.39-rc1~390^2~21 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a7da39d165e0c363c294feec119db1427032afd;p=pandora-kernel.git 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 Acked-by: Alexander Duyck Cc: stable@kernel.org [2.6.30+] Signed-off-by: David S. Miller --- Reading git-diff-tree failed