diff options
Diffstat (limited to 'net/ipv6/addrconf.c')
-rw-r--r-- | net/ipv6/addrconf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv6/addrconf.c b/net/ipv6/addrconf.c index d15f3e095e7e..4048c2b73b0b 100644 --- a/net/ipv6/addrconf.c +++ b/net/ipv6/addrconf.c | |||
@@ -940,7 +940,7 @@ struct ipv6_saddr_score { | |||
940 | }; | 940 | }; |
941 | 941 | ||
942 | struct ipv6_saddr_dst { | 942 | struct ipv6_saddr_dst { |
943 | struct in6_addr *addr; | 943 | const struct in6_addr *addr; |
944 | int ifindex; | 944 | int ifindex; |
945 | int scope; | 945 | int scope; |
946 | int label; | 946 | int label; |
@@ -1074,7 +1074,7 @@ out: | |||
1074 | } | 1074 | } |
1075 | 1075 | ||
1076 | int ipv6_dev_get_saddr(struct net_device *dst_dev, | 1076 | int ipv6_dev_get_saddr(struct net_device *dst_dev, |
1077 | struct in6_addr *daddr, unsigned int prefs, | 1077 | const struct in6_addr *daddr, unsigned int prefs, |
1078 | struct in6_addr *saddr) | 1078 | struct in6_addr *saddr) |
1079 | { | 1079 | { |
1080 | struct ipv6_saddr_score scores[2], | 1080 | struct ipv6_saddr_score scores[2], |
@@ -1309,7 +1309,7 @@ int ipv6_chk_prefix(struct in6_addr *addr, struct net_device *dev) | |||
1309 | 1309 | ||
1310 | EXPORT_SYMBOL(ipv6_chk_prefix); | 1310 | EXPORT_SYMBOL(ipv6_chk_prefix); |
1311 | 1311 | ||
1312 | struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, struct in6_addr *addr, | 1312 | struct inet6_ifaddr *ipv6_get_ifaddr(struct net *net, const struct in6_addr *addr, |
1313 | struct net_device *dev, int strict) | 1313 | struct net_device *dev, int strict) |
1314 | { | 1314 | { |
1315 | struct inet6_ifaddr * ifp; | 1315 | struct inet6_ifaddr * ifp; |