]> git.baikalelectronics.ru Git - kernel.git/commit
ethtool: Compat handling for struct ethtool_rxnfc
authorBen Hutchings <bhutchings@solarflare.com>
Thu, 17 Mar 2011 07:34:32 +0000 (07:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 18 Mar 2011 22:13:11 +0000 (15:13 -0700)
commit66942c6708286a4cf9ed5596a529e3d362adb008
tree901e54990fdd90d6f90d27533c36e61858216e34
parent0fd0ecd874ea6e0a6242606c7d8d9795a68a9af3
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>
include/linux/ethtool.h
net/socket.c