Subject: Re: [PATCH net-next] ipv6: add IPV6_CALL() helper

From: Jakub Kicinski <[email-masked]>
Date: Tue, 3 Mar 2026 18:24:29 -0800

On Wed, 4 Mar 2026 03:13:40 +0100 Eric Dumazet wrote:
> On Wed, Mar 4, 2026 at 2:08 AM Jakub Kicinski <[email-masked]> wrote:
> >
> > On Mon,  2 Mar 2026 15:42:01 +0000 Eric Dumazet wrote:  
> > > ipv6_stub use is racy, we should add READ_ONCE() and WRITE_ONCE(),
> > > even if this pointer can only change once.
> > >
> > > Add IPV6_CALL() macro to factorize the READ_ONCE(), and perform
> > > direct calls when CONFIG_IPV6=y.  
> >
> > Does not apply to net-next.
> > It sounds like we're going to remove IPV6=m, however, perhaps transform
> > this patch into that removal?  
> 
> This seems orthogonal, unless the plan is to force IPV6=y ?

I thought if we remove IPV6=m we would delete ipv6_stub completely?