]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - net/ipv4/ip_forward.c
ACPI 2.6.26-rc2: Add missing newline to DSDT/SSDT warning message
[linux-2.6-omap-h63xx.git] / net / ipv4 / ip_forward.c
index a4506c8cfef0a9b7788909375f31effa8a505c89..4813c39b438bbf24779086a3eb96b3fdcb6ac2cd 100644 (file)
@@ -80,7 +80,7 @@ int ip_forward(struct sk_buff *skb)
        if (!xfrm4_route_forward(skb))
                goto drop;
 
-       rt = (struct rtable*)skb->dst;
+       rt = skb->rtable;
 
        if (opt->is_strictroute && rt->rt_dst != rt->rt_gateway)
                goto sr_failed;