diff options
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r-- | include/net/inet_hashtables.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index 735b926a3497..61dd3317089c 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h | |||
@@ -201,7 +201,8 @@ extern struct inet_bind_bucket * | |||
201 | extern void inet_bind_bucket_destroy(struct kmem_cache *cachep, | 201 | extern void inet_bind_bucket_destroy(struct kmem_cache *cachep, |
202 | struct inet_bind_bucket *tb); | 202 | struct inet_bind_bucket *tb); |
203 | 203 | ||
204 | static inline int inet_bhashfn(const __u16 lport, const int bhash_size) | 204 | static inline int inet_bhashfn(struct net *net, |
205 | const __u16 lport, const int bhash_size) | ||
205 | { | 206 | { |
206 | return lport & (bhash_size - 1); | 207 | return lport & (bhash_size - 1); |
207 | } | 208 | } |