On 12/1/26 1:32 AM, Ralf Lici wrote:
>
> Ok but the objection is not about the eviction itself. The issue is how
> the slot's reference is dropped: lookups with RT6_LOOKUP_F_DST_NOREF
> rely on RCU to keep the pcpu dst alive, and dropping the slot's
> reference right away breaks that when the only other reference is an
> xfrm bundle's child, since dst_destroy releases the child with
> dst_release_immediate. Dropping the slot's reference after a grace
> period, from a call_rcu callback, would fix it for both kinds of
> nexthops, and in fib6_nh_release_dsts as well.
>
ok, I missed that point. v3 has a deferred release for dst in patch 6.