]> nv-tegra.nvidia Code Review - linux-3.10.git/blobdiff - net/sched/sch_sfq.c
[SK_BUFF]: Convert skb->tail to sk_buff_data_t
[linux-3.10.git] / net / sched / sch_sfq.c
index e3695407afc6247380f12b72e92cad1a543f632b..a511ba83e26f8045b2ba35f6d9d34641a3595831 100644 (file)
@@ -461,7 +461,7 @@ static void sfq_destroy(struct Qdisc *sch)
 static int sfq_dump(struct Qdisc *sch, struct sk_buff *skb)
 {
        struct sfq_sched_data *q = qdisc_priv(sch);
-       unsigned char    *b = skb->tail;
+       unsigned char *b = skb_tail_pointer(skb);
        struct tc_sfq_qopt opt;
 
        opt.quantum = q->quantum;