X-Git-Url: http://git.cascardo.eti.br/?a=blobdiff_plain;f=include%2Fnet%2Ftc_act%2Ftc_skbedit.h;h=9e054899832770dc32524290123d7817b9f3ea66;hb=a85a970af265f156740977168b542234511b28a8;hp=d01a5d40cfb5704fabb028301f7b61710dcd7215;hpb=b93dd49c1a35884864027abd707889b795637f7a;p=cascardo%2Flinux.git diff --git a/include/net/tc_act/tc_skbedit.h b/include/net/tc_act/tc_skbedit.h index d01a5d40cfb5..9e0548998327 100644 --- a/include/net/tc_act/tc_skbedit.h +++ b/include/net/tc_act/tc_skbedit.h @@ -30,8 +30,7 @@ struct tcf_skbedit { u16 queue_mapping; u16 ptype; }; -#define to_skbedit(a) \ - container_of(a->priv, struct tcf_skbedit, common) +#define to_skbedit(a) ((struct tcf_skbedit *)a) /* Return true iff action is mark */ static inline bool is_tcf_skbedit_mark(const struct tc_action *a)