diff options
Diffstat (limited to 'include/net/flow.h')
-rw-r--r-- | include/net/flow.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/include/net/flow.h b/include/net/flow.h index dafe97c3c048..acd6a096250e 100644 --- a/include/net/flow.h +++ b/include/net/flow.h | |||
@@ -244,18 +244,18 @@ void flow_cache_flush(struct net *net); | |||
244 | void flow_cache_flush_deferred(struct net *net); | 244 | void flow_cache_flush_deferred(struct net *net); |
245 | extern atomic_t flow_cache_genid; | 245 | extern atomic_t flow_cache_genid; |
246 | 246 | ||
247 | __u32 __get_hash_from_flowi6(struct flowi6 *fl6, struct flow_keys *keys); | 247 | __u32 __get_hash_from_flowi6(const struct flowi6 *fl6, struct flow_keys *keys); |
248 | 248 | ||
249 | static inline __u32 get_hash_from_flowi6(struct flowi6 *fl6) | 249 | static inline __u32 get_hash_from_flowi6(const struct flowi6 *fl6) |
250 | { | 250 | { |
251 | struct flow_keys keys; | 251 | struct flow_keys keys; |
252 | 252 | ||
253 | return __get_hash_from_flowi6(fl6, &keys); | 253 | return __get_hash_from_flowi6(fl6, &keys); |
254 | } | 254 | } |
255 | 255 | ||
256 | __u32 __get_hash_from_flowi4(struct flowi4 *fl4, struct flow_keys *keys); | 256 | __u32 __get_hash_from_flowi4(const struct flowi4 *fl4, struct flow_keys *keys); |
257 | 257 | ||
258 | static inline __u32 get_hash_from_flowi4(struct flowi4 *fl4) | 258 | static inline __u32 get_hash_from_flowi4(const struct flowi4 *fl4) |
259 | { | 259 | { |
260 | struct flow_keys keys; | 260 | struct flow_keys keys; |
261 | 261 | ||