diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2013-12-16 05:15:10 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 18:52:07 +0100 |
commit | 1f747c26c48bb290c79c34e155860c7e2ec3926a (patch) | |
tree | 0a821ed2e74aef2a9569656040f805d4c762e3ab /include/net/act_api.h | |
parent | net_sched: convert tcf_hashinfo to hlist and use spinlock (diff) | |
download | linux-1f747c26c48bb290c79c34e155860c7e2ec3926a.tar.xz linux-1f747c26c48bb290c79c34e155860c7e2ec3926a.zip |
net_sched: convert tc_action_ops to use struct list_head
We don't need to maintain our own singly linked list code.
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: David S. Miller <davem@davemloft.net>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/act_api.h')
-rw-r--r-- | include/net/act_api.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h index 22418d1a8396..77d5d8156efc 100644 --- a/include/net/act_api.h +++ b/include/net/act_api.h @@ -85,7 +85,7 @@ struct tc_action { #define TCA_CAP_NONE 0 struct tc_action_ops { - struct tc_action_ops *next; + struct list_head head; struct tcf_hashinfo *hinfo; char kind[IFNAMSIZ]; __u32 type; /* TBD to match kind */ |