OSDN Git Service

compat_ioctl: pppoe: fix PPPOEIOCSFWD handling
[android-x86/kernel.git] / net / l2tp / l2tp_ppp.c
index 9b214f3..16b63e6 100644 (file)
@@ -1790,6 +1790,9 @@ static const struct proto_ops pppol2tp_ops = {
        .recvmsg        = pppol2tp_recvmsg,
        .mmap           = sock_no_mmap,
        .ioctl          = pppox_ioctl,
+#ifdef CONFIG_COMPAT
+       .compat_ioctl = pppox_compat_ioctl,
+#endif
 };
 
 static const struct pppox_proto pppol2tp_proto = {