|
@@ -883,7 +883,7 @@ out:
|
|
|
return dst;
|
|
|
}
|
|
|
|
|
|
-static int ip6_dst_lookup_tail(struct net *net, struct sock *sk,
|
|
|
+static int ip6_dst_lookup_tail(struct net *net, const struct sock *sk,
|
|
|
struct dst_entry **dst, struct flowi6 *fl6)
|
|
|
{
|
|
|
#ifdef CONFIG_IPV6_OPTIMISTIC_DAD
|
|
@@ -1014,7 +1014,7 @@ EXPORT_SYMBOL_GPL(ip6_dst_lookup);
|
|
|
* It returns a valid dst pointer on success, or a pointer encoded
|
|
|
* error code.
|
|
|
*/
|
|
|
-struct dst_entry *ip6_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
|
|
|
+struct dst_entry *ip6_dst_lookup_flow(const struct sock *sk, struct flowi6 *fl6,
|
|
|
const struct in6_addr *final_dst)
|
|
|
{
|
|
|
struct dst_entry *dst = NULL;
|