[PATCH] compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Florian Westphal
Date: Thursday, April 29, 2010 - 1:03 am

fixes following error:
ioctl32(openl2tpd:7480): Unknown cmd fd(14) cmd(80487436){t:'t';sz:72} arg(ffa7e6c0) on socket:[105094]

Cc: James Chapman <jchapman@katalix.com>
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
---
 fs/compat_ioctl.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index c32a1b6..d7957d4 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1101,6 +1101,7 @@ COMPATIBLE_IOCTL(PPPIOCCONNECT)
 COMPATIBLE_IOCTL(PPPIOCDISCONN)
 COMPATIBLE_IOCTL(PPPIOCATTCHAN)
 COMPATIBLE_IOCTL(PPPIOCGCHAN)
+COMPATIBLE_IOCTL(PPPIOCGL2TPSTATS)
 /* PPPOX */
 COMPATIBLE_IOCTL(PPPOEIOCSFWD)
 COMPATIBLE_IOCTL(PPPOEIOCDFWD)
-- 
1.6.3.3

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] compat_ioctl: add compat handler for PPPIOCGL2TPST ..., Florian Westphal, (Thu Apr 29, 1:03 am)