summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-20 18:07:51 -0800
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-02 21:27:19 -0800
commit66c6f529c31e2886536aad4b2320d566deb1f150 (patch)
tree6237e856b5850112206efd72eeb1a7bbc8af2072 /net/sched/sch_api.c
parentff1dcadb1b55dbf471c5ed109dbbdf06bd19ef3b (diff)
[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 0b648929114..d99802f3023 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: