From: David Miller <davem@davemloft.net>
To: arnd@arndb.de
Cc: linux-kernel@vger.kernel.org, patrick.ohly@intel.com,
netdev@vger.kernel.org
Subject: Re: [PATCH] net/compat: fix dev_ifsioc emulation corner cases
Date: Wed, 11 Nov 2009 19:56:40 -0800 (PST) [thread overview]
Message-ID: <20091111.195640.82952998.davem@davemloft.net> (raw)
In-Reply-To: <200911111439.40753.arnd@arndb.de>
From: Arnd Bergmann <arnd@arndb.de>
Date: Wed, 11 Nov 2009 14:39:40 +0100
> Handling for SIOCSHWTSTAMP is broken on architectures
> with a split user/kernel address space like s390,
> because it passes a real user pointer while using
> set_fs(KERNEL_DS).
> A similar problem might arise the next time somebody
> adds code to dev_ifsioc.
>
> Split up dev_ifsioc into three separate functions for
> SIOCSHWTSTAMP, SIOC*IFMAP and all other numbers so
> we can get rid of set_fs in all potentially affected
> cases.
>
> Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Applied.
> Resending this one as well, rebased to current net-next.
> Please tell me if you want a backport to 2.6.32 or -stable
> for this one.
>
No.
next prev parent reply other threads:[~2009-11-12 3:56 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-06 14:00 [PATCH, WTF] atm: move all compat_ioctl handling to atm/ioctl.c Arnd Bergmann
2009-11-11 4:41 ` David Miller
2009-11-11 13:30 ` [PATCH] net/atm: " Arnd Bergmann
2009-11-11 13:34 ` David Woodhouse
2009-11-11 13:45 ` [PATCH v3] " Arnd Bergmann
2009-11-12 3:56 ` David Miller
2009-11-11 13:39 ` [PATCH] net/compat: fix dev_ifsioc emulation corner cases Arnd Bergmann
2009-11-12 3:56 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-11-10 14:18 Arnd Bergmann
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=20091111.195640.82952998.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=arnd@arndb.de \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=patrick.ohly@intel.com \
/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;
as well as URLs for NNTP newsgroup(s).