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>
This commit is contained in:

committed by
David S. Miller

parent
1f747c26c4
commit
3627287463
@@ -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 *,
|
||||
|
Reference in New Issue
Block a user