summaryrefslogtreecommitdiffstats
path: root/net/sched/sch_dsmark.c
diff options
context:
space:
mode:
authorAl Viro2006-11-21 03:07:51 +0100
committerDavid S. Miller2006-12-03 06:27:19 +0100
commit66c6f529c31e2886536aad4b2320d566deb1f150 (patch)
tree6237e856b5850112206efd72eeb1a7bbc8af2072 /net/sched/sch_dsmark.c
parent[NET]: Split skb->csum (diff)
downloadkernel-qcow2-linux-66c6f529c31e2886536aad4b2320d566deb1f150.tar.gz
kernel-qcow2-linux-66c6f529c31e2886536aad4b2320d566deb1f150.tar.xz
kernel-qcow2-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_dsmark.c')
-rw-r--r--net/sched/sch_dsmark.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/sch_dsmark.c b/net/sched/sch_dsmark.c
index 11c8a2119b96..0b7c0e82d600 100644
--- a/net/sched/sch_dsmark.c
+++ b/net/sched/sch_dsmark.c
@@ -307,7 +307,7 @@ static struct sk_buff *dsmark_dequeue(struct Qdisc *sch)
if (p->mask[index] != 0xff || p->value[index])
printk(KERN_WARNING "dsmark_dequeue: "
"unsupported protocol %d\n",
- htons(skb->protocol));
+ ntohs(skb->protocol));
break;
};