Re: [PATCH net] net: ipvs: avoid stat macros calls from preemptible context

From: Pablo Neira Ayuso
Date: Wed Jan 17 2024 - 07:44:42 EST


On Mon, Jan 15, 2024 at 05:39:22PM +0300, Fedor Pchelkin wrote:
> Inside decrement_ttl() upon discovering that the packet ttl has exceeded,
> __IP_INC_STATS and __IP6_INC_STATS macros can be called from preemptible
> context having the following backtrace:
>
> check_preemption_disabled: 48 callbacks suppressed
> BUG: using __this_cpu_add() in preemptible [00000000] code: curl/1177
> caller is decrement_ttl+0x217/0x830

Applied to nf.git, thanks