net_sched: convert tc_action_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
89819dc01f
commit
1f747c26c4
@@ -85,7 +85,7 @@ struct tc_action {
|
||||
|
||||
#define TCA_CAP_NONE 0
|
||||
struct tc_action_ops {
|
||||
struct tc_action_ops *next;
|
||||
struct list_head head;
|
||||
struct tcf_hashinfo *hinfo;
|
||||
char kind[IFNAMSIZ];
|
||||
__u32 type; /* TBD to match kind */
|
||||
|
Reference in New Issue
Block a user