Netdev List
 help / color / mirror / Atom feed
From: Paolo Abeni <pabeni@redhat.com>
To: Ido Schimmel <idosch@nvidia.com>, Kyuwon Cho <kyuwoncho18@gmail.com>
Cc: "David S. Miller" <davem@davemloft.net>,
	Eric Dumazet <edumazet@kernel.org>,
	Jakub Kicinski <kuba@kernel.org>,
	David Ahern <dsahern@kernel.org>,
	Kuniyuki Iwashima <kuniyu@google.com>,
	Jiayuan Chen <jiayuan.chen@linux.dev>,
	Willem de Bruijn <willemb@google.com>,
	Simon Horman <horms@kernel.org>,
	netdev@vger.kernel.org
Subject: Re: [PATCH net] ipv6: anycast: delete the anycast route under idev->lock
Date: Thu, 26 Nov 2026 10:36:38 +0100	[thread overview]
Message-ID: <bd19a37a-0e5b-4c88-a4f0-1fd5378c746b@redhat.com> (raw)
In-Reply-To: <20261126092020.GA608373@shredder>

On 11/26/26 10:20, Ido Schimmel wrote:
> On Tue, Nov 24, 2026 at 10:32:26PM +0900, Kyuwon Cho wrote:
>> IPV6_LEAVE_ANYCAST no longer holds RTNL, so a join of the same address
>> can run between the two halves of its last leave. __ipv6_dev_ac_dec()
>> unlinks the aca from idev->ac_list under idev->lock but deletes its
>> anycast route only after dropping the lock. A join in that window finds
>> no aca and creates a new one, and its ip6_ins_rt() fails with -EEXIST
>> because the old route is still in the table. __ipv6_dev_ac_inc()
>> ignores that error, the leave then deletes the old route, and the
>> address stays joined without an anycast route in the local table.
>>
>> Delete the route before dropping idev->lock.
>>
>> Fixes: f7fdf13bf103 ("ipv6: anycast: Don't hold RTNL for IPV6_LEAVE_ANYCAST and IPV6_ADDRFORM.")
>> Signed-off-by: Kyuwon Cho <kyuwoncho18@gmail.com>
> 
> Reviewed-by: Ido Schimmel <idosch@nvidia.com>
> 
> Note that:
> 
> "Avoid having more than 15 patches, across all series, outstanding for
> review on the mailing list for a single tree. In other words, a maximum
> of 15 patches under review on net, and a maximum of 15 patches under
> review on net-next."
> 
> https://docs.kernel.org/next/process/maintainer-netdev.html#limit-patches-outstanding-on-mailing-list
> 
> And according to patchwork you already have 17 patches under review for
> net.

To augment such statement, the maximum limit is intended for established
contributors with a consistent record of reviewing effort spent on the ML.

@Kyuwon Cho: you should limit yourself to no more than an handful of
patches in flight.

Thanks,

Paolo


      reply	other threads:[~2026-11-26  9:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-11-24 13:32 [PATCH net] ipv6: anycast: delete the anycast route under idev->lock Kyuwon Cho
2026-11-26  9:20 ` Ido Schimmel
2026-11-26  9:36   ` Paolo Abeni [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=bd19a37a-0e5b-4c88-a4f0-1fd5378c746b@redhat.com \
    --to=pabeni@redhat.com \
    --cc=davem@davemloft.net \
    --cc=dsahern@kernel.org \
    --cc=edumazet@kernel.org \
    --cc=horms@kernel.org \
    --cc=idosch@nvidia.com \
    --cc=jiayuan.chen@linux.dev \
    --cc=kuba@kernel.org \
    --cc=kuniyu@google.com \
    --cc=kyuwoncho18@gmail.com \
    --cc=netdev@vger.kernel.org \
    --cc=willemb@google.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