]> git.ipfire.org Git - people/arne_f/kernel.git/commit
netfilter: nf_tables_offload: fix check the chain offload flag
authorwenxu <wenxu@ucloud.cn>
Sun, 19 Jan 2020 05:18:30 +0000 (13:18 +0800)
committerPablo Neira Ayuso <pablo@netfilter.org>
Fri, 24 Jan 2020 19:54:11 +0000 (20:54 +0100)
commitc83de17dd6308fb74696923e5245de0e3c427206
treea527d0e7407616d296976c3bc19da27ec2d32a02
parentab658b9fa7a2c467f79eac8b53ea308b8f98113d
netfilter: nf_tables_offload: fix check the chain offload flag

In the nft_indr_block_cb the chain should check the flag with
NFT_CHAIN_HW_OFFLOAD.

Fixes: 9a32669fecfb ("netfilter: nf_tables_offload: support indr block call")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_tables_offload.c