aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/ipv6/ip6_output.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/ip6_output.c b/net/ipv6/ip6_output.c
index 6d9c0abc8c20..c6af5963a202 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,
975 * dst entry of the nexthop router 975 * dst entry of the nexthop router
976 */ 976 */
977 rcu_read_lock(); 977 rcu_read_lock();
978 rt = (struct rt6_info *) dst; 978 rt = (struct rt6_info *) *dst;
979 n = rt->n; 979 n = rt->n;
980 if (n && !(n->nud_state & NUD_VALID)) { 980 if (n && !(n->nud_state & NUD_VALID)) {
981 struct inet6_ifaddr *ifp; 981 struct inet6_ifaddr *ifp;