Commit c83de17d authored by wenxu's avatar wenxu Committed by Pablo Neira Ayuso
Browse files

netfilter: nf_tables_offload: fix check the chain offload flag

In the nft_indr_block_cb the chain should check the flag with

Fixes: 9a32669f

 ("netfilter: nf_tables_offload: support indr block call")
Signed-off-by: default avatarwenxu <>
Signed-off-by: default avatarPablo Neira Ayuso <>
parent ab658b9f
......@@ -564,7 +564,7 @@ static void nft_indr_block_cb(struct net_device *dev,
chain = __nft_offload_get_chain(dev);
if (chain) {
if (chain && chain->flags & NFT_CHAIN_HW_OFFLOAD) {
struct nft_base_chain *basechain;
basechain = nft_base_chain(chain);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment