Le 30/11/2026 à 17:51, Ralf Lici a écrit :[snip]
> - xfrm_policy_delete also runs from the policy timer, in softirq > context, and for IPv6 the bump is fib6_flush_trees, a walk of every > route. Policies that expire together would walk the FIB once each in a > single softirq, and both policies and routes only need CAP_NET_ADMIN > in the netns. [2] turns the IPv6 bump into a counter increment, but > that is net-next. > > For the last one I see three options for net: > > a) defer the bump in xfrm_policy_delete to a per-netns work item, like > policy_hash_work, so that expiries coalesce into one walk in process > context; > b) keep the bump synchronous, as in this version; or > c) leave expiry out of this fix. > > The first option seems the right fix to me but let me know if you prefer > a more "minimalistic" approach for a bugfix commit.
Ok, let's try this option.