summaryrefslogtreecommitdiff
path: root/include/net/sch_generic.h
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2013-12-15 20:15:11 -0800
committerDavid S. Miller <davem@davemloft.net>2013-12-18 12:52:08 -0500
commit3627287463b4acddb83d24fabb1e0a304e39565c (patch)
treee21fb125479524e1e2f765603283f2070cef80bc /include/net/sch_generic.h
parent1f747c26c48bb290c79c34e155860c7e2ec3926a (diff)
downloadlwn-3627287463b4acddb83d24fabb1e0a304e39565c.tar.gz
lwn-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.h2
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 *,