[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200511115913.1420836-1-hch@lst.de>
Date: Mon, 11 May 2020 13:59:10 +0200
From: Christoph Hellwig <hch@....de>
To: "David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: improve msg_control kernel vs user pointer handling
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 an eventual entire removal of set_fs().
Powered by blists - more mailing lists