On 05/01, Breno Leitao wrote: > Convert AF_VSOCK's getsockopt implementation to use the new > getsockopt_iter callback with sockopt_t. The single > vsock_connectible_getsockopt() callback is shared by both > vsock_stream_ops and vsock_seqpacket_ops, so both proto_ops are > updated to use .getsockopt_iter. > > 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 <[email protected]>
Acked-by: Stanislav Fomichev <[email protected]>

