]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/sched/cls_route.c
net: skb->dst accessors
[mirror_ubuntu-artful-kernel.git] / net / sched / cls_route.c
index bdf1f4172eef5a7d13783e4192babb10ff526726..dd872d5383efe371fa4333dcc1af724039b047b5 100644 (file)
@@ -137,7 +137,7 @@ static int route4_classify(struct sk_buff *skb, struct tcf_proto *tp,
        u32 id, h;
        int iif, dont_cache = 0;
 
-       if ((dst = skb->dst) == NULL)
+       if ((dst = skb_dst(skb)) == NULL)
                goto failure;
 
        id = dst->tclassid;