[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091111.195640.82952998.davem@davemloft.net>
Date: Wed, 11 Nov 2009 19:56:40 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: arnd@...db.de
Cc: linux-kernel@...r.kernel.org, patrick.ohly@...el.com,
netdev@...r.kernel.org
Subject: Re: [PATCH] net/compat: fix dev_ifsioc emulation corner cases
From: Arnd Bergmann <arnd@...db.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@...db.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.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists