Merge branch 'msg_control-split'
authorDavid S. Miller <davem@davemloft.net>
Fri, 14 Apr 2023 10:09:27 +0000 (11:09 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 14 Apr 2023 10:09:27 +0000 (11:09 +0100)
commitc11d2e718c792468e67389b506451eddf26c2dac
treebc473b2c058f20ddd4f4231b5f9cb3e6a54b8455
parenteaaa4e92397981c65dae7b9a38425b8fa984d674
parentb6d85cf5bd1433c5dd6bf6bb3a176537184c630c
Merge branch 'msg_control-split'

Kevin Brodsky says:

====================
net: Finish up ->msg_control{,_user} split

Commit 1f466e1f15cf ("net: cleanly handle kernel vs user buffers for
->msg_control") introduced the msg_control_user and
msg_control_is_user fields in struct msghdr, to ensure that user
pointers are represented as such. It also took care of converting most
users of struct msghdr::msg_control where user pointers are involved. It
did however miss a number of cases, and some code using msg_control
inappropriately has also appeared in the meantime.

This series is attempting to complete the split, by eliminating the
remaining cases where msg_control is used when in fact a user
pointer is stored in the union (patch 1).

It also addresses a couple of issues with msg_control_is_user: one where
it is not updated as it should (patch 2), and one where it is not
initialised (patch 3).

v1..v2:
* Split out the msg_control_is_user fixes into separate patches.
====================

Signed-off-by: David S. Miller <davem@davemloft.net>