On Thu, Mar 3, 2016 at 6:55 AM, Amir Vadai <a...@vadai.me> wrote: > +static inline bool is_tcf_skbedit_mark(const struct tc_action *a) > +{ > +#ifdef CONFIG_NET_CLS_ACT > + if (a->ops && a->ops->type == TCA_ACT_SKBEDIT) > + return to_skbedit(a)->flags == SKBEDIT_F_MARK;
You mean to_skbedit(a)->flags & SKBEDIT_F_MARK ?