[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20200810.120739.1883274758298088684.davem@davemloft.net>
Date: Mon, 10 Aug 2020 12:07:39 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: hch@....de
Cc: kuba@...nel.org, netdev@...r.kernel.org, bpf@...r.kernel.org,
edumazet@...gle.com, john.stultz@...aro.org
Subject: Re: [PATCH] net: Revert "net: optimize the sockptr_t for unified
kernel/user address spaces"
From: Christoph Hellwig <hch@....de>
Date: Mon, 10 Aug 2020 18:42:14 +0200
> This reverts commits 6d04fe15f78acdf8e32329e208552e226f7a8ae6 and
> a31edb2059ed4e498f9aa8230c734b59d0ad797a.
>
> It turns out the idea to share a single pointer for both kernel and user
> space address causes various kinds of problems. So use the slightly less
> optimal version that uses an extra bit, but which is guaranteed to be safe
> everywhere.
>
> Fixes: 6d04fe15f78a ("net: optimize the sockptr_t for unified kernel/user address spaces")
> Reported-by: Eric Dumazet <edumazet@...gle.com>
> Reported-by: John Stultz <john.stultz@...aro.org>
> Signed-off-by: Christoph Hellwig <hch@....de>
Applied, thanks.
Powered by blists - more mailing lists