net_sched: get rid of struct tcf_common
After the previous patch, struct tc_action should be enough to represent the generic tc action, tcf_common is not necessary any more. This patch gets rid of it to make tc action code more readable. Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
a85a970af2
commit
ec0595cc44
@@ -14,7 +14,7 @@
|
||||
#include <net/act_api.h>
|
||||
|
||||
struct tcf_bpf {
|
||||
struct tcf_common common;
|
||||
struct tc_action common;
|
||||
struct bpf_prog __rcu *filter;
|
||||
union {
|
||||
u32 bpf_fd;
|
||||
|
||||
Reference in New Issue
Block a user