From: "Jiayuan Chen" <jiayuan.chen@linux.dev>
To: "Ihor Solodrai" <ihor.solodrai@linux.dev>,
"Alexei Starovoitov" <alexei.starovoitov@gmail.com>
Cc: "Alexei Starovoitov" <ast@kernel.org>,
"Andrii Nakryiko" <andrii@kernel.org>,
"Daniel Borkmann" <daniel@iogearbox.net>,
"Eduard" <eddyz87@gmail.com>, "bpf" <bpf@vger.kernel.org>,
"Network Development" <netdev@vger.kernel.org>,
"Jakub Kicinski" <kuba@kernel.org>,
"Paolo Abeni" <pabeni@redhat.com>,
"Mykola Lysenko" <mykolal@fb.com>,
"Kernel Team" <kernel-team@meta.com>
Subject: Re: [PATCH bpf] selftests/bpf: remove sockmap_ktls disconnect_after_delete test
Date: Wed, 16 Apr 2025 01:10:42 +0000 [thread overview]
Message-ID: <cfc371285323e1a3f3b006bfcf74e6cf7ad65258@linux.dev> (raw)
In-Reply-To: <b787119e15a218cc10a850f2c774fd328d53ef55@linux.dev>
April 16, 2025 at 01:37, "Ihor Solodrai" <ihor.solodrai@linux.dev> wrote:
>
> On 4/15/25 10:05 AM, Alexei Starovoitov wrote:
>
> >
> > On Tue, Apr 15, 2025 at 10:01 AM Ihor Solodrai <ihor.solodrai@linux.dev> wrote:
> >
> > >
> > > On 4/15/25 9:53 AM, Jiayuan Chen wrote:
> > >
> >
> > April 16, 2025 at 24:33, "Ihor Solodrai" <ihor.solodrai@linux.dev> wrote:
> >
> > "sockmap_ktls disconnect_after_delete" test has been failing on BPF CI
> >
> > after recent merges from netdev:
> >
> > * https://github.com/kernel-patches/bpf/actions/runs/14458537639
> >
> > * https://github.com/kernel-patches/bpf/actions/runs/14457178732
> >
> > It happens because disconnect has been disabled for TLS [1], and it
> >
> > renders the test case invalid. Remove it from the suite.
> >
> > [1] https://lore.kernel.org/netdev/20250404180334.3224206-1-kuba@kernel.org/
> >
> > Signed-off-by: Ihor Solodrai <ihor.solodrai@linux.dev>
> >
> > Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev>
> >
> > The original selftest patch used disconnect to re-produce the endless
> > loop caused by tcp_bpf_unhash, which has already been removed.
> > I hope this doesn't conflict with bpf-next...
> >
> > >
> > > I just tried applying to bpf-next, and it does indeed have a
> > > conflict... Although kdiff3 merged it automatically.
> > > What's the right way to resolve this? Send for bpf-next?
> > >
> > What commit in bpf-next does it conflict with ?
> > In general, avoiding merge conflicts is preferred.
> >
> https://web.git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf-next.git/commit/?id=05ebde1bcb50a71cd56d8edd3008f53a781146e9
> https://lore.kernel.org/bpf/20250219052015.274405-1-jiayuan.chen@linux.dev/
> It adds tests in the same file. The code to delete simply moved.
> I think we can avoid conflict by applying 05ebde1bcb50 to bpf first,
> if that's an option (it might depend on other changes, idk).
> Then the version of the patch for bpf-next would apply to both trees.
> If not, then apply only to bpf-next, and disable the test on CI?
>
I'm not sure whether we can cherry-pick the commit to bpf branch.
I believe it would be more convenient for the maintainer to merge the
patch that only removes 'ASSERT_OK(err, "disconnect");', as this change
will not introduce conflicts with the bpf-next branch.
Once the bpf branch is merged into bpf-next, you can then remove the
entire function in the bpf-next branch.
next prev parent reply other threads:[~2025-04-16 1:10 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-04-15 16:33 [PATCH bpf] selftests/bpf: remove sockmap_ktls disconnect_after_delete test Ihor Solodrai
2025-04-15 16:53 ` Jiayuan Chen
2025-04-15 17:00 ` Ihor Solodrai
2025-04-15 17:05 ` Alexei Starovoitov
2025-04-15 17:37 ` Ihor Solodrai
2025-04-16 1:10 ` Jiayuan Chen [this message]
2025-04-16 1:43 ` Alexei Starovoitov
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=cfc371285323e1a3f3b006bfcf74e6cf7ad65258@linux.dev \
--to=jiayuan.chen@linux.dev \
--cc=alexei.starovoitov@gmail.com \
--cc=andrii@kernel.org \
--cc=ast@kernel.org \
--cc=bpf@vger.kernel.org \
--cc=daniel@iogearbox.net \
--cc=eddyz87@gmail.com \
--cc=ihor.solodrai@linux.dev \
--cc=kernel-team@meta.com \
--cc=kuba@kernel.org \
--cc=mykolal@fb.com \
--cc=netdev@vger.kernel.org \
--cc=pabeni@redhat.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.