]> err.no Git - linux-2.6/blobdiff - net/ipv4/ip_forward.c
the scheduled ieee80211 softmac removal
[linux-2.6] / net / ipv4 / ip_forward.c
index 0b3b328d82db608519ce2fbb57050b1f944da959..9d6d3befd8542c927df4b6f67c5e2b703c87df69 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;