summaryrefslogtreecommitdiffstats
path: root/drivers/net/niu.c
diff options
context:
space:
mode:
authorArnd Bergmann <arnd@arndb.de>2009-11-11 04:45:22 +0100
committerDavid S. Miller <davem@davemloft.net>2009-11-12 04:22:23 +0100
commit805003a41c035ccbe37d3d5ef5e6df8874346b5a (patch)
tree55828a6642fc6f974842cea3387f2625ec9499b3 /drivers/net/niu.c
parentnet/compat: fix dev_ifsioc emulation corner cases (diff)
downloadlinux-805003a41c035ccbe37d3d5ef5e6df8874346b5a.tar.xz
linux-805003a41c035ccbe37d3d5ef5e6df8874346b5a.zip
net/atm: move all compat_ioctl handling to atm/ioctl.c
We have two implementations of the compat_ioctl handling for ATM, the one that we have had for ages in fs/compat_ioctl.c and the one added to net/atm/ioctl.c by David Woodhouse. Unfortunately, both versions are incomplete, and in practice we use a very confusing combination of the two. For ioctl numbers that have the same identifier on 32 and 64 bit systems, we go directly through the compat_ioctl socket operation, for those that differ, we do a conversion in fs/compat_ioctl.c. This patch moves both variants into the vcc_compat_ioctl() function, while preserving the current behaviour. It also kills off the COMPATIBLE_IOCTL definitions that we never use here. Doing it this way is clearly not a good solution, but I hope it is a step into the right direction, so that someone is able to clean up this mess for real. Signed-off-by: Arnd Bergmann <arnd@arndb.de> Cc: Eric Dumazet <eric.dumazet@gmail.com> Cc: David Woodhouse <dwmw2@infradead.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/niu.c')
0 files changed, 0 insertions, 0 deletions