]> err.no Git - linux-2.6/blobdiff - net/ipv4/ip_input.c
the scheduled ieee80211 softmac removal
[linux-2.6] / net / ipv4 / ip_input.c
index 65631391d479580de09f5eddf1302a39060b37c2..d36e310b314d8d3de349d36a5cfa24a36614484e 100644 (file)
@@ -351,7 +351,7 @@ static int ip_rcv_finish(struct sk_buff *skb)
        if (iph->ihl > 5 && ip_rcv_options(skb))
                goto drop;
 
-       rt = (struct rtable*)skb->dst;
+       rt = skb->rtable;
        if (rt->rt_type == RTN_MULTICAST)
                IP_INC_STATS_BH(IPSTATS_MIB_INMCASTPKTS);
        else if (rt->rt_type == RTN_BROADCAST)