[IPV4]: Add 'rtable' field in struct sk_buff to alias 'dst' and avoid casts
[deliverable/linux.git] / net / netfilter / nf_conntrack_netbios_ns.c
index 9810d81e2a06df129db9f0655556fabf3ce5acf8..60dedaded84e8ef184a9f53b3e6d9f4c7bdd687f 100644 (file)
@@ -47,7 +47,7 @@ static int help(struct sk_buff *skb, unsigned int protoff,
 {
        struct nf_conntrack_expect *exp;
        struct iphdr *iph = ip_hdr(skb);
-       struct rtable *rt = (struct rtable *)skb->dst;
+       struct rtable *rt = skb->rtable;
        struct in_device *in_dev;
        __be32 mask = 0;
 
This page took 0.025205 seconds and 5 git commands to generate.