diff options
Diffstat (limited to 'net/core/flow.c')
-rw-r--r-- | net/core/flow.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/core/flow.c b/net/core/flow.c index b143b86b1f2a..127c8a7ffd61 100644 --- a/net/core/flow.c +++ b/net/core/flow.c | |||
@@ -176,8 +176,8 @@ static u32 flow_hash_code(struct flow_cache *fc, | |||
176 | { | 176 | { |
177 | u32 *k = (u32 *) key; | 177 | u32 *k = (u32 *) key; |
178 | 178 | ||
179 | return (jhash2(k, (sizeof(*key) / sizeof(u32)), fcp->hash_rnd) | 179 | return jhash2(k, (sizeof(*key) / sizeof(u32)), fcp->hash_rnd) |
180 | & (flow_cache_hash_size(fc) - 1)); | 180 | & (flow_cache_hash_size(fc) - 1); |
181 | } | 181 | } |
182 | 182 | ||
183 | typedef unsigned long flow_compare_t; | 183 | typedef unsigned long flow_compare_t; |