[PATCH net-next v2 2/7] af_iucv: convert to getsockopt_iter
Alexandra Winter
wintera at linux.ibm.com
Mon May 18 05:00:03 PDT 2026
On 15.05.26 10:32, Breno Leitao wrote:
> Convert IUCV socket's getsockopt implementation to use the new
> getsockopt_iter callback with sockopt_t.
>
> Key changes:
> - Replace (char __user *optval, int __user *optlen) with sockopt_t *opt
> - Use opt->optlen for buffer length (input) and returned size (output)
> - Use copy_to_iter() instead of put_user()/copy_to_user()
>
> Acked-by: Stanislav Fomichev <sdf at fomichev.me>
> Signed-off-by: Breno Leitao <leitao at debian.org>
> ---
Acked-by: Alexandra Winter <wintera at linux.ibm.com>
More information about the linux-afs
mailing list