diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index b312a5f7a759..6a98f68348cb 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -1164,7 +1164,7 @@ record_it: | |||
1164 | int ipv6_get_saddr(struct dst_entry *dst, | 1164 | int ipv6_get_saddr(struct dst_entry *dst, |
1165 | struct in6_addr *daddr, struct in6_addr *saddr) | 1165 | struct in6_addr *daddr, struct in6_addr *saddr) |
1166 | { | 1166 | { |
1167 | return ipv6_dev_get_saddr(dst ? ((struct rt6_info *)dst)->rt6i_idev->dev : NULL, daddr, saddr); | 1167 | return ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL, daddr, saddr); |
1168 | } | 1168 | } |
1169 | 1169 | ||
1170 | 1170 | ||