projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18a110b
)
netfilter: nf_flow_table_offload: Fix block setup as TC_SETUP_FT cmd
author
wenxu
<wenxu@ucloud.cn>
Wed, 20 Nov 2019 04:30:42 +0000
(12:30 +0800)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Sat, 30 Nov 2019 18:45:28 +0000
(19:45 +0100)
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>
net/netfilter/nf_flow_table_offload.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_flow_table_offload.c
b/net/netfilter/nf_flow_table_offload.c
index
c54c9a6
..
6067268
100644
(file)
--- 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;