Re: [PATCH net] net: fix __this_cpu_add() in preemptible code in dev_xmit_recursion_inc/dec

From: Eric Dumazet

Date: Thu Apr 09 2026 - 04:10:52 EST


On Thu, Apr 9, 2026 at 12:50 AM Jiayuan Chen <jiayuan.chen@xxxxxxxxx> wrote:

> Thanks
>
> I checked all callers of dev_xmit_recursion_inc(). Most are fine.
>
> The only problematic ones are iptunnel_xmit() and ip6tunnel_xmit(),
>
> I think adding guard(migrate)() at the top of both functions is enough

Seems fine to me, thanks.