summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Pirko <jiri@mellanox.com>2018-01-17 11:46:45 +0100
committerDavid S. Miller <davem@davemloft.net>2018-01-17 14:53:56 -0500
commita9b19443edbaac97c5c094f3cc903c1f1548b3f5 (patch)
tree6db1ce1be9119b1ab1742713d85903673323e6a7 /include
parentc9a824210f530bcddf4ef9cbb04445da70e4b3e8 (diff)
net: sched: introduce support for multiple filter chain pointers registration
So far, there was possible only to register a single filter chain pointer to block->chain[0]. However, when the blocks will get shareable, we need to allow multiple filter chain pointers registration. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Acked-by: Jamal Hadi Salim <jhs@mojatatu.com> Acked-by: David Ahern <dsahern@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r--include/net/sch_generic.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h
index bd9125b0481f..17d8cfd0efda 100644
--- a/include/net/sch_generic.h
+++ b/include/net/sch_generic.h
@@ -275,8 +275,7 @@ typedef void tcf_chain_head_change_t(struct tcf_proto *tp_head, void *priv);
struct tcf_chain {
struct tcf_proto __rcu *filter_chain;
- tcf_chain_head_change_t *chain_head_change;
- void *chain_head_change_priv;
+ struct list_head filter_chain_list;
struct list_head list;
struct tcf_block *block;
u32 index; /* chain index */