netfilter: nf_tables: flow_offload depends on flow_table
Subsystems (3)
PATCH 1/1 netfilter: nf_tables: flow_offload depends on flow_table
Without CONFIG_NF_FLOW_TABLE, the new nft_flow_offload module produces a link error:
net/netfilter/nft_flow_offload.o: In function `nft_flow_offload_iterate_cleanup':
nft_flow_offload.c:(.text+0xb0): undefined reference to nf_flow_table_iterate' net/netfilter/nft_flow_offload.o: In function flow_offload_iterate_cleanup':
nft_flow_offload.c:(.text+0x160): undefined reference to flow_offload_dead' net/netfilter/nft_flow_offload.o: In function nft_flow_offload_eval':
nft_flow_offload.c:(.text+0xc4c): undefined reference to flow_offload_alloc' nft_flow_offload.c:(.text+0xc64): undefined reference to flow_offload_add' nft_flow_offload.c:(.text+0xc94): undefined reference to `flow_offload_free'
This adds a Kconfig dependency for it.
--- net/netfilter/Kconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
net/netfilter/Kconfig +1 -1
@@ -506,7 +506,7 @@ config NFT_CT connection tracking information such as the flow state. config NFT_FLOW_OFFLOAD - depends on NF_CONNTRACK + depends on NF_CONNTRACK && NF_FLOW_TABLE tristate "Netfilter nf_tables hardware flow offload module" help This option adds the "flow_offload" expression that you can use to
Signature · 1 line
2.9.0
Quoted 12 lines · Arnd Bergmann
Without
CONFIG_NF_FLOW_TABLE, the newnft_flow_offloadmodule produces a link error:
net/netfilter/nft_flow_offload.o: In function `nft_flow_offload_iterate_cleanup':
nft_flow_offload.c:(.text+0xb0): undefined reference tonf_flow_table_iterate' net/netfilter/nft_flow_offload.o: In functionflow_offload_iterate_cleanup':
nft_flow_offload.c:(.text+0x160): undefined reference toflow_offload_dead' net/netfilter/nft_flow_offload.o: In functionnft_flow_offload_eval':
nft_flow_offload.c:(.text+0xc4c): undefined reference toflow_offload_alloc' nft_flow_offload.c:(.text+0xc64): undefined reference toflow_offload_add' nft_flow_offload.c:(.text+0xc94): undefined reference to `flow_offload_free'
Quoted 1 line
This adds a
Kconfigdependency for it.
Applied, thanks Arnd.