]> git.baikalelectronics.ru Git - kernel.git/commit
netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()
authorPhil Sutter <phil@nwl.cc>
Wed, 2 Mar 2022 21:02:55 +0000 (22:02 +0100)
committerPablo Neira Ayuso <pablo@netfilter.org>
Sat, 19 Mar 2022 23:29:35 +0000 (00:29 +0100)
commit4a180d6cbb4b5173eacd9bef0c20d9d1f9a532c4
treee43f7338e973e03070ea0d988183841be3180175
parent5c8e48b81da49b5642bc30bac6a19aa8ca335708
netfilter: conntrack: Add and use nf_ct_set_auto_assign_helper_warned()

The function sets the pernet boolean to avoid the spurious warning from
nf_ct_lookup_helper() when assigning conntrack helpers via nftables.

Fixes: db18fd84e2c7 ("netfilter: nft_ct: add helper set support")
Signed-off-by: Phil Sutter <phil@nwl.cc>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
include/net/netfilter/nf_conntrack_helper.h
net/netfilter/nf_conntrack_helper.c
net/netfilter/nft_ct.c