Re: [PATCH RESEND v2 2/2] nfc: llcp: convert to getsockopt_iter

From: Simon Horman

Date: Fri Nov 13 2026 - 14:22:41 EST


On Mon, Nov 09, 2026 at 05:50:38AM -0800, Breno Leitao wrote:
> Convert nfc_llcp_getsockopt() to the getsockopt_iter proto_ops callback.
> It takes a sockopt_t and writes each value with copy_to_iter() instead of
> a put_user() into optval; the socket layer builds the sockopt_t and copies
> the length back. The socket lock and optlen validation are unchanged.
>
> No functional change.
>
> Signed-off-by: Breno Leitao <leitao@xxxxxxxxxx>

Reviewed-by: Simon Horman <horms@xxxxxxxxxx>