Netdev List
 help / color / mirror / Atom feed
From: Matthieu Baerts <matttbe@kernel.org>
To: Breno Leitao <leitao@debian.org>
Cc: Allison Henderson <achender@kernel.org>,
	linux-kernel@vger.kernel.org, netdev@vger.kernel.org,
	linux-rdma@vger.kernel.org, rds-devel@oss.oracle.com,
	linux-kselftest@vger.kernel.org, kernel-team@meta.com,
	"David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@google.com>,
	Jakub Kicinski <kuba@kernel.org>, Paolo Abeni <pabeni@redhat.com>,
	Simon Horman <horms@kernel.org>, Shuah Khan <shuah@kernel.org>,
	Andy Grover <andy.grover@oracle.com>,
	Mark Brown <broonie@kernel.org>,
	Linux Next Mailing List <linux-next@vger.kernel.org>
Subject: Re: [PATCH net-next v3 2/2] rds: convert to getsockopt_iter: manual merge
Date: Fri, 12 Jun 2026 13:41:00 +0200	[thread overview]
Message-ID: <b91ff67e-ce74-4edf-a8b0-08be04586485@kernel.org> (raw)
In-Reply-To: <aivAbAIjnTeqlsdS@gmail.com>

Hi Breno,

On 12/06/2026 10:19, Breno Leitao wrote:
> Hello Matthieu,
> 
> On Thu, Jun 11, 2026 at 02:52:36PM +0200, Matthieu Baerts wrote:
>>> +	/*
>>> +	 * iov_iter_extract_pages() pins only user-backed (ubuf) iters;
>>> +	 * iov_iter_extract_will_pin() reports whether an unpin is owed here.
>>> +	 */
>>> +	if (pages && iov_iter_extract_will_pin(&opt->iter_out))
>>>  		unpin_user_pages(pages, nr_pages);
>>
>> FYI, we got a small conflict when merging 'net' in 'net-next' in the
>> MPTCP tree due to this patch applied in 'net':
>>
>>   f512db8267b73 ("rds: mark snapshot pages dirty in rds_info_getsockopt()")
>>
>> and this one from 'net-next':
>>
>>   6e94eeb2a2a6 ("rds: convert to getsockopt_iter")
> 
> I was aware of the conflict but didn't realize a note would be helpful
> for the merge. I should have included one.
> 
> Could you point me to an example commit/patch that contains such a note so I
> can understand the expected format and procedure?

In this particular example, I think it would have been easier to have
waited for the fix to land in net-next -- after the weekly sync with net
-- and then send the net-next patches.

When this cannot be avoided, then you can mention the conflict, and
ideally share a diff of the resolution, plus a description, especially
when it is not obvious, when simply saying "take the version from X" is
helpful, when extra modifications are needed, etc. e.g. [1]. Something
similar to what Mark is usually doing on the linux-next ML, or what I
did here.

[1]
https://lore.kernel.org/98386125-c0bb-495e-b2ba-2765aaed19d8@oss.qualcomm.com

> Apologies for the omission.
No problem, it happens fairly regularly ;)

Cheers,
Matt
-- 
Sponsored by the NGI0 Core fund.


  reply	other threads:[~2026-06-12 11:41 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-06-08  9:44 [PATCH net-next v3 0/2] net: rds: convert rds to getsockopt_iter Breno Leitao
2026-06-08  9:44 ` [PATCH net-next v3 1/2] selftests: net: rds: add getsockopt() conversion test Breno Leitao
2026-06-08  9:44 ` [PATCH net-next v3 2/2] rds: convert to getsockopt_iter Breno Leitao
2026-06-11 12:52   ` [PATCH net-next v3 2/2] rds: convert to getsockopt_iter: manual merge Matthieu Baerts
2026-06-11 18:35     ` Allison Henderson
2026-06-12  8:19     ` Breno Leitao
2026-06-12 11:41       ` Matthieu Baerts [this message]
2026-06-11 10:30 ` [PATCH net-next v3 0/2] net: rds: convert rds to getsockopt_iter patchwork-bot+netdevbpf

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=b91ff67e-ce74-4edf-a8b0-08be04586485@kernel.org \
    --to=matttbe@kernel.org \
    --cc=achender@kernel.org \
    --cc=andy.grover@oracle.com \
    --cc=broonie@kernel.org \
    --cc=davem@davemloft.net \
    --cc=edumazet@google.com \
    --cc=horms@kernel.org \
    --cc=kernel-team@meta.com \
    --cc=kuba@kernel.org \
    --cc=leitao@debian.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-kselftest@vger.kernel.org \
    --cc=linux-next@vger.kernel.org \
    --cc=linux-rdma@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=pabeni@redhat.com \
    --cc=rds-devel@oss.oracle.com \
    --cc=shuah@kernel.org \
    /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