Subject: Re: [PATCH net] net: netfilter: move nf flowtable bpf initialization in nf_flow_table_module_init()

From: Florian Westphal <[email-masked]>
Date: Wed, 11 Sep 2024 17:42:05 +0200

Lorenzo Bianconi <[email-masked]> wrote:
> Move nf flowtable bpf initialization in nf_flow_table module load
> routine since nf_flow_table_bpf is part of nf_flow_table module and not
> nf_flow_table_inet one. This patch allows to avoid the following kernel
> warning running the reproducer below:
> 
> $modprobe nf_flow_table_inet
> $rmmod nf_flow_table_inet
> $modprobe nf_flow_table_inet
> modprobe: ERROR: could not insert 'nf_flow_table_inet': Invalid argument

LGTM, thanks Lorenzo.

Acked-by: Florian Westphal <[email-masked]>