aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorKevin Brodsky <[email protected]>2023-04-13 12:47:04 +0100
committerDavid S. Miller <[email protected]>2023-04-14 11:09:27 +0100
commit60daf8d40b80ccbd593930235aea9ee82ea8dbc2 (patch)
tree766b0dbf9a6c7cc855c5bdf5b3f43f964885b42b /scripts/gdb/linux/timerlist.py
parentc39ef2130491b2382f2c81774c825527d4bdf4e2 (diff)
net/compat: Update msg_control_is_user when setting a kernel pointer
cmsghdr_from_user_compat_to_kern() is an unusual case w.r.t. how the kmsg->msg_control* fields are used. The input struct msghdr holds a pointer to a user buffer, i.e. ksmg->msg_control_user is active. However, upon success, a kernel pointer is stored in kmsg->msg_control. kmsg->msg_control_is_user should therefore be updated accordingly. 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/timerlist.py')
0 files changed, 0 insertions, 0 deletions