ipv6: constify ip6_dst_lookup_{flow|tail}() sock arguments
[firefly-linux-kernel-4.4.55.git] / include / net / ipv6.h
index 384a93cf07d601ff9c35ad7dca056be8897b8be6..9877b68ad2071d2e5792808954a4d6bd1a3189f7 100644 (file)
@@ -849,7 +849,7 @@ static inline struct sk_buff *ip6_finish_skb(struct sock *sk)
 
 int ip6_dst_lookup(struct net *net, struct sock *sk, struct dst_entry **dst,
                   struct flowi6 *fl6);
-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 *ip6_sk_dst_lookup_flow(struct sock *sk, struct flowi6 *fl6,
                                         const struct in6_addr *final_dst);