X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fsched%2Fsch_api.c;h=d99802f3023d8bba6fcb04d1d5b995e8b80cc5e4;hb=107a5fe6191249878de0de42bb64d3c35be1a986;hp=0b6489291140f0324c73e8a8ddb0aad716c03593;hpb=63c422afe3739b68bec0b5c42807d1450c951caf;p=powerpc.git diff --git a/net/sched/sch_api.c b/net/sched/sch_api.c index 0b64892911..d99802f302 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: