FROMGIT: net: Revert "net: optimize the sockptr_t for unified kernel/user address spaces"
This reverts commits 6d04fe15 and a31edb20. 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: 6d04fe15 ("net: optimize the sockptr_t for unified kernel/user address spaces") Reported-by:Eric Dumazet <edumazet@google.com> Reported-by:
John Stultz <john.stultz@linaro.org> Signed-off-by:
Christoph Hellwig <hch@lst.de> Signed-off-by:
David S. Miller <davem@davemloft.net> (cherry picked from commit 519a8a6c https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git master) Signed-off-by:
John Stultz <john.stultz@linaro.org> Change-Id: I645a8226be732b72cf8a404957754e3408dfc4bc
Loading
Please sign in to comment