net: Abstract dst->neighbour accesses behind helpers.
[deliverable/linux.git] / net / ipv6 / addrconf.c
index 48cd03df8954ae3ce0926db2bf9e231e4befdd28..a06c53c14d841e07083ca9dbab9423bf607d914d 100644 (file)
@@ -656,7 +656,7 @@ ipv6_add_addr(struct inet6_dev *idev, const struct in6_addr *addr, int pfxlen,
         * layer address of our nexhop router
         */
 
-       if (rt->dst.neighbour == NULL)
+       if (dst_get_neighbour(&rt->dst) == NULL)
                ifa->flags &= ~IFA_F_OPTIMISTIC;
 
        ifa->idev = idev;
This page took 0.025223 seconds and 5 git commands to generate.