[NET]: Add a dev_ioctl() fallback to sock_ioctl()
[linux-2.6.git] / net / decnet / af_decnet.c
index 65e3bae..78ec534 100644 (file)
@@ -1252,7 +1252,7 @@ static int dn_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
                break;
 
        default:
-               err = dev_ioctl(cmd, (void __user *)arg);
+               err = -ENOIOCTLCMD;
                break;
        }