diff options
author | Arnaldo Carvalho de Melo <acme@mandriva.com> | 2005-12-14 02:15:12 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2006-01-03 16:10:34 -0500 |
commit | c2977c2213993bff51911f4117281b31c4612591 (patch) | |
tree | 3b6b4d73d33ee47a6e2669770591303097120347 | |
parent | 90b19d31695371bd3ed256d4c9e280861cd6ae7e (diff) |
[ICSK]: make inet_csk_reqsk_queue_hash_add timeout arg unsigned long
Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | include/net/inet_connection_sock.h | 2 | ||||
-rw-r--r-- | net/ipv4/inet_connection_sock.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/net/inet_connection_sock.h b/include/net/inet_connection_sock.h index edc68e858d51..ccc81a1c550c 100644 --- a/include/net/inet_connection_sock.h +++ b/include/net/inet_connection_sock.h | |||
@@ -211,7 +211,7 @@ static inline void inet_csk_reqsk_queue_add(struct sock *sk, | |||
211 | 211 | ||
212 | extern void inet_csk_reqsk_queue_hash_add(struct sock *sk, | 212 | extern void inet_csk_reqsk_queue_hash_add(struct sock *sk, |
213 | struct request_sock *req, | 213 | struct request_sock *req, |
214 | const unsigned timeout); | 214 | unsigned long timeout); |
215 | 215 | ||
216 | static inline void inet_csk_reqsk_queue_removed(struct sock *sk, | 216 | static inline void inet_csk_reqsk_queue_removed(struct sock *sk, |
217 | struct request_sock *req) | 217 | struct request_sock *req) |
diff --git a/net/ipv4/inet_connection_sock.c b/net/ipv4/inet_connection_sock.c index f05b6e761102..e2bf508ed770 100644 --- a/net/ipv4/inet_connection_sock.c +++ b/net/ipv4/inet_connection_sock.c | |||
@@ -385,7 +385,7 @@ struct request_sock *inet_csk_search_req(const struct sock *sk, | |||
385 | EXPORT_SYMBOL_GPL(inet_csk_search_req); | 385 | EXPORT_SYMBOL_GPL(inet_csk_search_req); |
386 | 386 | ||
387 | void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req, | 387 | void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req, |
388 | const unsigned timeout) | 388 | unsigned long timeout) |
389 | { | 389 | { |
390 | struct inet_connection_sock *icsk = inet_csk(sk); | 390 | struct inet_connection_sock *icsk = inet_csk(sk); |
391 | struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; | 391 | struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt; |