diff options
author | Kevin Brodsky <[email protected]> | 2023-04-13 12:47:03 +0100 |
---|---|---|
committer | David S. Miller <[email protected]> | 2023-04-14 11:09:27 +0100 |
commit | c39ef2130491b2382f2c81774c825527d4bdf4e2 (patch) | |
tree | c092292a7e77f51f4bf7ccc9fe7a10e4346f4b5b /scripts/gdb/linux/lists.py | |
parent | eaaa4e92397981c65dae7b9a38425b8fa984d674 (diff) |
net: Ensure ->msg_control_user is used for user buffers
Since commit 1f466e1f15cf ("net: cleanly handle kernel vs user
buffers for ->msg_control"), pointers to user buffers should be
stored in struct msghdr::msg_control_user, instead of the
msg_control field. Most users of msg_control have already been
converted (where user buffers are involved), but not all of them.
This patch attempts to address the remaining cases. An exception is
made for null checks, as it should be safe to use msg_control
unconditionally for that purpose.
Cc: Christoph Hellwig <[email protected]>
Cc: Eric Dumazet <[email protected]>
Cc: "David S. Miller" <[email protected]>
Cc: Jakub Kicinski <[email protected]>
Signed-off-by: Kevin Brodsky <[email protected]>
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions