[PATCH net-next 5/6] rxrpc: convert to getsockopt_iter

Stanislav Fomichev sdf.kernel at gmail.com
Wed May 13 08:33:13 PDT 2026


On 05/13, Breno Leitao wrote:
> Convert RxRPC 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()
> 
> Signed-off-by: Breno Leitao <leitao at debian.org>

Acked-by: Stanislav Fomichev <sdf at fomichev.me>



More information about the linux-afs mailing list