lkml.org 
[lkml]   [2010]   [Jun]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH, RESEND] compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl
Date
From: Florian Westphal <fwestphal@astaro.com>

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

The structure used in the ioctl uses "aligned_u64" and thus doesn't need
fixups.

Cc: trivial@kernel.org
Signed-off-by: Florian Westphal <fwestphal@astaro.com>
---
noticed that this wasn't applied, most likely due to vger
outage back in April.

diff --git a/fs/compat_ioctl.c b/fs/compat_ioctl.c
index 641640d..d58d4cf 100644
--- a/fs/compat_ioctl.c
+++ b/fs/compat_ioctl.c
@@ -1100,6 +1100,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.4.4


\
 
 \ /
  Last update: 2010-06-03 18:05    [W:0.057 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site