]> bbs.cooldavid.org Git - net-next-2.6.git/blobdiff - net/sched/act_mirred.c
[SK_BUFF]: Convert skb->tail to sk_buff_data_t
[net-next-2.6.git] / net / sched / act_mirred.c
index 3e93683e9ab3c666f15f0651d5c603a0833fb4ae..15f6ecdaf611abb703e16b7908de57adfc69b00f 100644 (file)
@@ -206,7 +206,7 @@ bad_mirred:
 
 static int tcf_mirred_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_mirred *m = a->priv;
        struct tc_mirred opt;
        struct tcf_t t;