From: Arnd Bergmann Date: Fri, 6 Nov 2009 08:09:09 +0000 (+0000) Subject: net, compat_ioctl: handle more ioctls correctly X-Git-Tag: v2.6.33-rc1~388^2~479 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9177efd3991e2cb3f5643a01d3be22121cab6efc;p=pandora-kernel.git net, compat_ioctl: handle more ioctls correctly The MII ioctls and SIOCSIFNAME need to go through ifsioc conversion, which they never did so far. Some others are not implemented in the native path, so we can just return -EINVAL directly. Add IFSLAVE ioctls to the EINVAL list and move it to the end to optimize the code path for the common case. Signed-off-by: Arnd Bergmann Signed-off-by: David S. Miller --- Reading git-diff-tree failed