summaryrefslogtreecommitdiffstats
path: root/net/netfilter
diff options
context:
space:
mode:
authorwenxu <wenxu@ucloud.cn>2019-11-20 12:30:42 +0800
committerPablo Neira Ayuso <pablo@netfilter.org>2019-11-30 19:45:28 +0100
commitee1bcfe01251e8958b53de45d2b0c85e09dd2719 (patch)
tree1a053af07e3fa3ce536fe6af4930b83ae13fa1ed /net/netfilter
parent18a110b022a5c02e7dc9f6109d0bd93e58ac6ebb (diff)
downloadblackbird-op-linux-ee1bcfe01251e8958b53de45d2b0c85e09dd2719.tar.gz
blackbird-op-linux-ee1bcfe01251e8958b53de45d2b0c85e09dd2719.zip
netfilter: nf_flow_table_offload: Fix block setup as TC_SETUP_FT cmd
Set up block through TC_SETUP_FT command. Fixes: c29f74e0df7a ("netfilter: nf_flow_table: hardware offload support") Signed-off-by: wenxu <wenxu@ucloud.cn> Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'net/netfilter')
-rw-r--r--net/netfilter/nf_flow_table_offload.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/netfilter/nf_flow_table_offload.c b/net/netfilter/nf_flow_table_offload.c
index c54c9a6cc981..6067268ab9bc 100644
--- a/net/netfilter/nf_flow_table_offload.c
+++ b/net/netfilter/nf_flow_table_offload.c
@@ -822,7 +822,7 @@ int nf_flow_table_offload_setup(struct nf_flowtable *flowtable,
bo.extack = &extack;
INIT_LIST_HEAD(&bo.cb_list);
- err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_BLOCK, &bo);
+ err = dev->netdev_ops->ndo_setup_tc(dev, TC_SETUP_FT, &bo);
if (err < 0)
return err;
OpenPOWER on IntegriCloud