diff options
Diffstat (limited to 'include/net/inet_hashtables.h')
-rw-r--r-- | include/net/inet_hashtables.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/net/inet_hashtables.h b/include/net/inet_hashtables.h index b07d126694a7..de2e3ade6102 100644 --- a/include/net/inet_hashtables.h +++ b/include/net/inet_hashtables.h | |||
@@ -199,13 +199,14 @@ static inline int inet_sk_listen_hashfn(const struct sock *sk) | |||
199 | } | 199 | } |
200 | 200 | ||
201 | /* Caller must disable local BH processing. */ | 201 | /* Caller must disable local BH processing. */ |
202 | int __inet_inherit_port(struct sock *sk, struct sock *child); | 202 | int __inet_inherit_port(const struct sock *sk, struct sock *child); |
203 | 203 | ||
204 | void inet_put_port(struct sock *sk); | 204 | void inet_put_port(struct sock *sk); |
205 | 205 | ||
206 | void inet_hashinfo_init(struct inet_hashinfo *h); | 206 | void inet_hashinfo_init(struct inet_hashinfo *h); |
207 | 207 | ||
208 | void __inet_hash_nolisten(struct sock *sk, struct sock *osk); | 208 | bool inet_ehash_insert(struct sock *sk, struct sock *osk); |
209 | bool inet_ehash_nolisten(struct sock *sk, struct sock *osk); | ||
209 | void __inet_hash(struct sock *sk, struct sock *osk); | 210 | void __inet_hash(struct sock *sk, struct sock *osk); |
210 | void inet_hash(struct sock *sk); | 211 | void inet_hash(struct sock *sk); |
211 | void inet_unhash(struct sock *sk); | 212 | void inet_unhash(struct sock *sk); |