Re: improve msg_control kernel vs user pointer handling

2020-05-11 Thread David Miller
From: Christoph Hellwig Date: Mon, 11 May 2020 13:59:10 +0200 > this series replace the msg_control in the kernel msghdr structure > with an anonymous union and separate fields for kernel vs user > pointers. In addition to helping a bit with type safety and reducing > sparse warnings, this also

improve msg_control kernel vs user pointer handling

2020-05-11 Thread Christoph Hellwig
Hi Dave, this series replace the msg_control in the kernel msghdr structure with an anonymous union and separate fields for kernel vs user pointers. In addition to helping a bit with type safety and reducing sparse warnings, this also allows to remove the set_fs() in kernel_recvmsg, helping with