🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.kernel.netdev
1 messages
1 total messages Started by Chengfeng Ye Tue, 13 Oct 2026 10:43
Re: [PATCH net] net: pktgen: keep device lookup under RCU protection
#2739
Author: Chengfeng Ye
Date: Tue, 13 Oct 2026 10:43
35 lines
10565 bytes
On Wed, Aug 26, 2026 at 2:55 AM Chengfeng Ye <nicoyip.dev@gmail.com> wrote:
>
> On Tue, Aug 25, 2026 at 6:45 PM Paolo Abeni <pabeni@redhat.com> wrote:
> > Side note: returning the RCU protected ptr outside the RCU read lock
> > safe, as the caller never deference it, but quite confusing.
> >
> > It would be nice to follow-up on net-next replacing the return type here
> > with a bool.
> >
> > /P
> >
>
> No problem, the follow-up patch is just sent.
>
> Best Regards,
> Chengfeng

Hi Paolo and Eric,

A gentle ping on this fix, which is still marked Deferred.

The requested bool follow-up has been applied to net-next as
2a5043c8b7d0 (https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/commit/?id=2a5043c8b7d09f2fc76c19270fd687b774c5a68b),
but the RCU lifetime fix remains outstanding.

I rechecked this original patch against net/main at 8bf659bd54e1: it
still applies cleanly.

Best regards,
Chengfeng
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads