X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=include%2Fnet%2Ftc_act%2Ftc_vlan.h;h=e29f52e8bdf1f50f8a4e8849f807d2bb68ee3c70;hb=ec0595cc4495be579309b4bfd5e997af0f2ae6f9;hp=93b70ade1ff3fb9a66ec1178d652fe3083cd338c;hpb=298647e31af52e795867a399fa049cebd88067ff;p=cascardo%2Flinux.git diff --git a/include/net/tc_act/tc_vlan.h b/include/net/tc_act/tc_vlan.h index 93b70ade1ff3..e29f52e8bdf1 100644 --- a/include/net/tc_act/tc_vlan.h +++ b/include/net/tc_act/tc_vlan.h @@ -16,12 +16,11 @@ #define VLAN_F_PUSH 0x2 struct tcf_vlan { - struct tcf_common common; + struct tc_action common; int tcfv_action; u16 tcfv_push_vid; __be16 tcfv_push_proto; }; -#define to_vlan(a) \ - container_of(a->priv, struct tcf_vlan, common) +#define to_vlan(a) ((struct tcf_vlan *)a) #endif /* __NET_TC_VLAN_H */