diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2008-03-18 01:46:46 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-03-18 01:46:46 -0400 |
commit | 0382b9c35469be273ed10fa374496a924055a3c8 (patch) | |
tree | a71ff964e57ab8308bca073505aacfd7a3b4a764 /net/sched/em_u32.c | |
parent | e6f1cebf71c4e7aae7dfa43414ce2631291def9f (diff) |
[PKT_SCHED]: annotate cls_u32
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/em_u32.c')
-rw-r--r-- | net/sched/em_u32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/em_u32.c b/net/sched/em_u32.c index 112796e4a7c4..953f1479f7da 100644 --- a/net/sched/em_u32.c +++ b/net/sched/em_u32.c | |||
@@ -35,7 +35,7 @@ static int em_u32_match(struct sk_buff *skb, struct tcf_ematch *em, | |||
35 | if (!tcf_valid_offset(skb, ptr, sizeof(u32))) | 35 | if (!tcf_valid_offset(skb, ptr, sizeof(u32))) |
36 | return 0; | 36 | return 0; |
37 | 37 | ||
38 | return !(((*(u32*) ptr) ^ key->val) & key->mask); | 38 | return !(((*(__be32*) ptr) ^ key->val) & key->mask); |
39 | } | 39 | } |
40 | 40 | ||
41 | static struct tcf_ematch_ops em_u32_ops = { | 41 | static struct tcf_ematch_ops em_u32_ops = { |