[NET]: Add a dev_ioctl() fallback to sock_ioctl()
[linux-2.6.git] / net / ipx / af_ipx.c
index 6c464c1..0dc519b 100644 (file)
@@ -1884,7 +1884,7 @@ static int ipx_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
                rc = -EINVAL;
                break;
        default:
-               rc = dev_ioctl(cmd, argp);
+               rc = -ENOIOCTLCMD;
                break;
        }