diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 6d9c0abc8c200e2bfdb87eff48745dc848e553c6..c6af5963a20248f165d1fe5fac1dd41bd377028f 100644
--- a/net/ipv6/ip6_output.c
+++ b/net/ipv6/ip6_output.c
@@ -975,7 +975,7 @@ static int ip6_dst_lookup_tail(struct sock *sk,
 	 * dst entry of the nexthop router
 	 */
 	rcu_read_lock();
-	rt = (struct rt6_info *) dst;
+	rt = (struct rt6_info *) *dst;
 	n = rt->n;
 	if (n && !(n->nud_state & NUD_VALID)) {
 		struct inet6_ifaddr *ifp;