summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorJakub Kicinski <kuba@kernel.org>2026-05-10 10:11:10 -0700
committerJakub Kicinski <kuba@kernel.org>2026-05-10 10:11:10 -0700
commit7247c92cdcafeb0d6b7855ace95226f35e19bc9b (patch)
tree180ba1d935d489c772424e2a485ed5753f437169 /scripts
parent70f764ecca72bd35668b0c17426af4b088f4c88d (diff)
parentc8c2bd2bcf67c43f0b2ec8250c258cd8c486b1a2 (diff)
Merge branch 'net-convert-four-more-protocols-to-getsockopt_iter'
Breno Leitao says: ==================== net: convert four more protocols to getsockopt_iter Continue the work to convert protocols to the new getsockopt_iter API. Convert four additional getsockopt implementations to the new sockopt_t/getsockopt_iter callback: - MCTP - LLC - X.25 - KCM These are mechanical, ABI-preserving conversions following the same pattern as the previously converted protocols (af_packet, can/raw, af_netlink, af_vsock): the (char __user *optval, int __user *optlen) pair is replaced with a single sockopt_t *opt that carries the buffer length on input and the returned size on output, and exposes an iov_iter for the copy-out path. put_user()/copy_to_user() pairs are replaced with a single copy_to_iter() per option, and the wrapper in do_sock_getsockopt() handles writing optlen back to userspace. I picked these four because each is small and self-contained. ==================== Link: https://patch.msgid.link/20260507-getsock_two-v2-0-5873111d9c12@debian.org Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions