From: Simon Horman <horms@kernel.org>
To: Breno Leitao <leitao@debian.org>
Cc: David Heidelberg <david@ixit.cz>,
"David S. Miller" <davem@davemloft.net>,
Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
Eric Dumazet <edumazet@kernel.org>,
oe-linux-nfc@lists.linux.dev, netdev@vger.kernel.org,
linux-kernel@vger.kernel.org, sdf.kernel@gmail.com,
kernel-team@meta.com
Subject: Re: [PATCH RESEND v2 2/2] nfc: llcp: convert to getsockopt_iter
Date: Fri, 13 Nov 2026 17:39:19 +0000 [thread overview]
Message-ID: <20261113173919.GZ18859@horms.kernel.org> (raw)
In-Reply-To: <20261109-getsockopt_phase3-v2-2-d0f74c6e0f37@debian.org>
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@debian.org>
Reviewed-by: Simon Horman <horms@kernel.org>
prev parent reply other threads:[~2026-11-13 17:39 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-09 13:50 [PATCH RESEND v2 0/2] nfc: llcp: Move to .getsockopt_iter Breno Leitao
2026-11-09 13:50 ` [PATCH RESEND v2 1/2] nfc: llcp: widen getsockopt value locals to u32 Breno Leitao
2026-11-13 17:39 ` Simon Horman
2026-11-09 13:50 ` [PATCH RESEND v2 2/2] nfc: llcp: convert to getsockopt_iter Breno Leitao
2026-11-13 17:39 ` Simon Horman [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261113173919.GZ18859@horms.kernel.org \
--to=horms@kernel.org \
--cc=davem@davemloft.net \
--cc=david@ixit.cz \
--cc=edumazet@kernel.org \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=leitao@debian.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=oe-linux-nfc@lists.linux.dev \
--cc=pabeni@redhat.com \
--cc=sdf.kernel@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®