aboutsummaryrefslogtreecommitdiffstats
path: root/net/ipv6/addrconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r--net/ipv6/addrconf.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c
index 18e3a9825d81..9b3a2d0e4269 100644
--- a/net/ipv6/addrconf.c
+++ b/net/ipv6/addrconf.c
@@ -1167,14 +1167,7 @@ record_it:
1167 return 0; 1167 return 0;
1168} 1168}
1169 1169
1170 1170EXPORT_SYMBOL(ipv6_dev_get_saddr);
1171int ipv6_get_saddr(struct dst_entry *dst,
1172 struct in6_addr *daddr, struct in6_addr *saddr)
1173{
1174 return ipv6_dev_get_saddr(dst ? ip6_dst_idev(dst)->dev : NULL, daddr, saddr);
1175}
1176
1177EXPORT_SYMBOL(ipv6_get_saddr);
1178 1171
1179int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr, 1172int ipv6_get_lladdr(struct net_device *dev, struct in6_addr *addr,
1180 unsigned char banned_flags) 1173 unsigned char banned_flags)