diff options
author | wenxu <wenxu@ucloud.cn> | 2020-03-24 00:34:25 +0100 |
---|---|---|
committer | Pablo Neira Ayuso <pablo@netfilter.org> | 2020-03-27 18:41:52 +0100 |
commit | 133a2fe594dc0eb15a77477a5a05176495190139 (patch) | |
tree | fd17911fa4308e7c8774a27f2b568c74d607b014 /include/net | |
parent | netfilter: flowtable: add counter support (diff) | |
download | linux-133a2fe594dc0eb15a77477a5a05176495190139.tar.xz linux-133a2fe594dc0eb15a77477a5a05176495190139.zip |
netfilter: flowtable: Fix incorrect tc_setup_type type
The indirect block setup should use TC_SETUP_FT as the type instead of
TC_SETUP_BLOCK. Adjust existing users of the indirect flow block
infrastructure.
Fixes: b5140a36da78 ("netfilter: flowtable: add indr block setup support")
Signed-off-by: wenxu <wenxu@ucloud.cn>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
Diffstat (limited to 'include/net')
-rw-r--r-- | include/net/flow_offload.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/flow_offload.h b/include/net/flow_offload.h index 1e30b0d44b61..1afb6bd4530d 100644 --- a/include/net/flow_offload.h +++ b/include/net/flow_offload.h @@ -520,6 +520,7 @@ void flow_indr_block_cb_unregister(struct net_device *dev, void flow_indr_block_call(struct net_device *dev, struct flow_block_offload *bo, - enum flow_block_command command); + enum flow_block_command command, + enum tc_setup_type type); #endif /* _NET_FLOW_OFFLOAD_H */ |