]> git.baikalelectronics.ru Git - 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)
commit030c1afd44e34ef7747b2953a48770142824e367
treea527d0e7407616d296976c3bc19da27ec2d32a02
parentb385bb7c2744a365342048da8b7b6c837dc06251
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: 487ef577a956 ("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