summaryrefslogtreecommitdiffstats
path: root/include/net/pkt_cls.h
diff options
context:
space:
mode:
authorJiri Pirko2018-08-01 12:36:57 +0200
committerDavid S. Miller2018-08-01 19:06:19 +0200
commit290b1c8b1a902c0902df9ec05577ab209296f345 (patch)
tree67d6762dca4ee621c30a0fbc5d30d0eb30a2c7e1 /include/net/pkt_cls.h
parentnet: sched: fix notifications for action-held chains (diff)
downloadkernel-qcow2-linux-290b1c8b1a902c0902df9ec05577ab209296f345.tar.gz
kernel-qcow2-linux-290b1c8b1a902c0902df9ec05577ab209296f345.tar.xz
kernel-qcow2-linux-290b1c8b1a902c0902df9ec05577ab209296f345.zip
net: sched: make tcf_chain_{get,put}() static
These are no longer used outside of cls_api.c so make them static. Move tcf_chain_flush() to avoid fwd declaration of tcf_chain_put(). Signed-off-by: Jiri Pirko <jiri@mellanox.com> v1->v2: - new patch Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/pkt_cls.h')
-rw-r--r--include/net/pkt_cls.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/pkt_cls.h b/include/net/pkt_cls.h
index 22bfc3a13c25..ef727f71336e 100644
--- a/include/net/pkt_cls.h
+++ b/include/net/pkt_cls.h
@@ -40,11 +40,8 @@ struct tcf_block_cb;
bool tcf_queue_work(struct rcu_work *rwork, work_func_t func);
#ifdef CONFIG_NET_CLS
-struct tcf_chain *tcf_chain_get(struct tcf_block *block, u32 chain_index,
- bool create);
struct tcf_chain *tcf_chain_get_by_act(struct tcf_block *block,
u32 chain_index);
-void tcf_chain_put(struct tcf_chain *chain);
void tcf_chain_put_by_act(struct tcf_chain *chain);
void tcf_block_netif_keep_dst(struct tcf_block *block);
int tcf_block_get(struct tcf_block **p_block,