summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-21 03:07:51 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 06:27:19 +0100
commit66c6f529c31e2886536aad4b2320d566deb1f150 (patch)
tree6237e856b5850112206efd72eeb1a7bbc8af2072 /net/sched/sch_api.c
parent[NET]: Split skb->csum (diff)
downloadlinux-66c6f529c31e2886536aad4b2320d566deb1f150.tar.xz
linux-66c6f529c31e2886536aad4b2320d566deb1f150.zip
[NET]: net/sched annotations.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/sch_api.c')
-rw-r--r--net/sched/sch_api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c
index 0b6489291140..d99802f3023d 100644
--- a/net/sched/sch_api.c
+++ b/net/sched/sch_api.c
@@ -1112,7 +1112,7 @@ int tc_classify(struct sk_buff *skb, struct tcf_proto *tp,
struct tcf_result *res)
{
int err = 0;
- u32 protocol = skb->protocol;
+ __be16 protocol = skb->protocol;
#ifdef CONFIG_NET_CLS_ACT
struct tcf_proto *otp = tp;
reclassify: