diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2013-12-15 23:15:11 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 12:52:08 -0500 |
commit | 3627287463b4acddb83d24fabb1e0a304e39565c (patch) | |
tree | e21fb125479524e1e2f765603283f2070cef80bc /include/net/sch_generic.h | |
parent | 1f747c26c48bb290c79c34e155860c7e2ec3926a (diff) |
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 { | |||
185 | }; | 185 | }; |
186 | 186 | ||
187 | struct tcf_proto_ops { | 187 | struct tcf_proto_ops { |
188 | struct tcf_proto_ops *next; | 188 | struct list_head head; |
189 | char kind[IFNAMSIZ]; | 189 | char kind[IFNAMSIZ]; |
190 | 190 | ||
191 | int (*classify)(struct sk_buff *, | 191 | int (*classify)(struct sk_buff *, |