diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2013-12-16 05:15:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 18:52:08 +0100 |
commit | 3627287463b4acddb83d24fabb1e0a304e39565c (patch) | |
tree | e21fb125479524e1e2f765603283f2070cef80bc /include/net/sch_generic.h | |
parent | net_sched: convert tc_action_ops to use struct list_head (diff) | |
download | linux-3627287463b4acddb83d24fabb1e0a304e39565c.tar.xz linux-3627287463b4acddb83d24fabb1e0a304e39565c.zip |
net_sched: convert tcf_proto_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/sch_generic.h')
-rw-r--r-- | include/net/sch_generic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/sch_generic.h b/include/net/sch_generic.h index d0a6321c302e..013d96dc6918 100644 --- a/include/net/sch_generic.h +++ b/include/net/sch_generic.h @@ -185,7 +185,7 @@ struct tcf_result { }; struct tcf_proto_ops { - struct tcf_proto_ops *next; + struct list_head head; char kind[IFNAMSIZ]; int (*classify)(struct sk_buff *, |