diff options
author | WANG Cong <xiyou.wangcong@gmail.com> | 2013-12-16 04:15:11 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-12-18 17:52:08 (GMT) |
commit | 3627287463b4acddb83d24fabb1e0a304e39565c (patch) | |
tree | e21fb125479524e1e2f765603283f2070cef80bc /include/net/sch_generic.h | |
parent | 1f747c26c48bb290c79c34e155860c7e2ec3926a (diff) | |
download | linux-3627287463b4acddb83d24fabb1e0a304e39565c.tar.xz |
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 d0a6321..013d96d 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 *, |