X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=net%2Fsched%2Fsch_api.c;h=d99802f3023d8bba6fcb04d1d5b995e8b80cc5e4;hb=f5c2d6367b04fd5ba98a5f9846b5fb870423968a;hp=0b6489291140f0324c73e8a8ddb0aad716c03593;hpb=9a69d1aeccf169d9a1e442c07d3a6e87f06a7b49;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: