[PKT_SCHED]: annotate cls_u32
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -35,7 +35,7 @@ static int em_u32_match(struct sk_buff *skb, struct tcf_ematch *em,
|
||||
if (!tcf_valid_offset(skb, ptr, sizeof(u32)))
|
||||
return 0;
|
||||
|
||||
return !(((*(u32*) ptr) ^ key->val) & key->mask);
|
||||
return !(((*(__be32*) ptr) ^ key->val) & key->mask);
|
||||
}
|
||||
|
||||
static struct tcf_ematch_ops em_u32_ops = {
|
||||
|
Reference in New Issue
Block a user