From: Florian Westphal <fw@strlen.de>
To: linux-kernel@vger.kernel.org
Cc: Florian Westphal <fwestphal@astaro.com>, trivial@kernel.org
Subject: [PATCH, RESEND] compat_ioctl: add compat handler for PPPIOCGL2TPSTATS ioctl
Date: Thu, 3 Jun 2010 18:00:14 +0200 [thread overview]
Message-ID: <1275580814-19353-1-git-send-email-fw@strlen.de> (raw)
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
reply other threads:[~2010-06-03 16:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1275580814-19353-1-git-send-email-fw@strlen.de \
--to=fw@strlen.de \
--cc=fwestphal@astaro.com \
--cc=linux-kernel@vger.kernel.org \
--cc=trivial@kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®