]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sched/act_pedit.c
[SK_BUFF]: Convert skb->tail to sk_buff_data_t
[net-next-2.6.git] / net / sched / act_pedit.c
index 20813eee8af48c38a7da54ddd9a18c116662c346..d654cea1a46ce17ca4b109e07f6e471076619482 100644 (file)
@@ -195,7 +195,7 @@ done:
 static int tcf_pedit_dump(struct sk_buff *skb, struct tc_action *a,
                          int bind, int ref)
 {
-       unsigned char *b = skb->tail;
+       unsigned char *b = skb_tail_pointer(skb);
        struct tcf_pedit *p = a->priv;
        struct tc_pedit *opt;
        struct tcf_t t;