summaryrefslogtreecommitdiff
path: root/net/ipv4/udp_ipv4.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv4/udp_ipv4.c')
-rw-r--r--net/ipv4/udp_ipv4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv4/udp_ipv4.c b/net/ipv4/udp_ipv4.c
index 40978de7fb51..fd14c2c50ed4 100644
--- a/net/ipv4/udp_ipv4.c
+++ b/net/ipv4/udp_ipv4.c
@@ -893,7 +893,7 @@ int __udp4_lib_rcv(struct sk_buff *skb, struct hlist_head udptable[],
struct sock *sk;
struct udphdr *uh = udp_hdr(skb);
unsigned short ulen;
- struct rtable *rt = (struct rtable*)skb->dst;
+ struct rtable *rt = skb->rtable;
__be32 saddr = ip_hdr(skb)->saddr;
__be32 daddr = ip_hdr(skb)->daddr;