commit | 69cce1d1404968f78b177a0314f5822d5afdbbfb | [log] [tgz] |
---|---|---|
author | David S. Miller <davem@davemloft.net> | Sun Jul 17 23:09:49 2011 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Jul 17 23:11:35 2011 -0700 |
tree | 26223264fd69ea8078d0013fd5a76eb7aeb04c12 | |
parent | 9cbb7ecbcff85077bb12301aaf4c9b5a56c5993d [diff] [blame] |
net: Abstract dst->neighbour accesses behind helpers. dst_{get,set}_neighbour() Signed-off-by: David S. Miller <davem@davemloft.net>
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index 48cd03d..a06c53c 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c
@@ -656,7 +656,7 @@ * 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;