diff options
Diffstat (limited to 'net/ipv4/ip_input.c')
-rw-r--r-- | net/ipv4/ip_input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/ip_input.c b/net/ipv4/ip_input.c index 65631391d479..d36e310b314d 100644 --- a/net/ipv4/ip_input.c +++ b/net/ipv4/ip_input.c | |||
@@ -351,7 +351,7 @@ static int ip_rcv_finish(struct sk_buff *skb) | |||
351 | if (iph->ihl > 5 && ip_rcv_options(skb)) | 351 | if (iph->ihl > 5 && ip_rcv_options(skb)) |
352 | goto drop; | 352 | goto drop; |
353 | 353 | ||
354 | rt = (struct rtable*)skb->dst; | 354 | rt = skb->rtable; |
355 | if (rt->rt_type == RTN_MULTICAST) | 355 | if (rt->rt_type == RTN_MULTICAST) |
356 | IP_INC_STATS_BH(IPSTATS_MIB_INMCASTPKTS); | 356 | IP_INC_STATS_BH(IPSTATS_MIB_INMCASTPKTS); |
357 | else if (rt->rt_type == RTN_BROADCAST) | 357 | else if (rt->rt_type == RTN_BROADCAST) |