summaryrefslogtreecommitdiff
path: root/net/sched/sch_api.c
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2006-11-21 02:07:51 (GMT)
committerDavid S. Miller <davem@sunset.davemloft.net>2006-12-03 05:27:19 (GMT)
commit66c6f529c31e2886536aad4b2320d566deb1f150 (patch)
tree6237e856b5850112206efd72eeb1a7bbc8af2072 /net/sched/sch_api.c
parentff1dcadb1b55dbf471c5ed109dbbdf06bd19ef3b (diff)
downloadlinux-66c6f529c31e2886536aad4b2320d566deb1f150.tar.xz
[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 0b64892..d99802f 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: