inet: constify ip_route_output_flow() socket argument
[firefly-linux-kernel-4.4.55.git] / include / net / route.h
index 10a7d21a211cd72a9a839ebf241d9950a392da26..414beadc619f677414adb3b61c06056adf5b4bed 100644 (file)
@@ -114,7 +114,7 @@ void rt_cache_flush(struct net *net);
 void rt_flush_dev(struct net_device *dev);
 struct rtable *__ip_route_output_key(struct net *, struct flowi4 *flp);
 struct rtable *ip_route_output_flow(struct net *, struct flowi4 *flp,
-                                   struct sock *sk);
+                                   const struct sock *sk);
 struct dst_entry *ipv4_blackhole_route(struct net *net,
                                       struct dst_entry *dst_orig);