From: Alexei Starovoitov <[email protected]>
Date: Wed, 3 Jun 2015 22:07:10 -0700
> + u32 at_ingress = G_TC_AT(skb->tc_verd) & AT_INGRESS;
Please use a 'bool' for this.
> @@ -64,6 +64,7 @@ static int cls_bpf_classify(struct sk_buff *skb, const
> struct tcf_proto *tp,
> {
> struct cls_bpf_head *head = rcu_dereference_bh(tp->root);
> struct cls_bpf_prog *prog;
> + u32 at_ingress = G_TC_AT(skb->tc_verd) & AT_INGRESS;
> int ret = -1;
>
> if (unlikely(!skb_mac_header_was_set(skb)))
Likewise.
Thank you.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html