Browse Source

[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>
Arnaldo Carvalho de Melo 19 years ago
parent
commit
c2977c2213
2 changed files with 2 additions and 2 deletions
  1. 1 1
      include/net/inet_connection_sock.h
  2. 1 1
      net/ipv4/inet_connection_sock.c

+ 1 - 1
include/net/inet_connection_sock.h

@@ -211,7 +211,7 @@ static inline void inet_csk_reqsk_queue_add(struct sock *sk,
 
 
 extern void inet_csk_reqsk_queue_hash_add(struct sock *sk,
 extern void inet_csk_reqsk_queue_hash_add(struct sock *sk,
 					  struct request_sock *req,
 					  struct request_sock *req,
-					  const unsigned timeout);
+					  unsigned long timeout);
 
 
 static inline void inet_csk_reqsk_queue_removed(struct sock *sk,
 static inline void inet_csk_reqsk_queue_removed(struct sock *sk,
 						struct request_sock *req)
 						struct request_sock *req)

+ 1 - 1
net/ipv4/inet_connection_sock.c

@@ -385,7 +385,7 @@ struct request_sock *inet_csk_search_req(const struct sock *sk,
 EXPORT_SYMBOL_GPL(inet_csk_search_req);
 EXPORT_SYMBOL_GPL(inet_csk_search_req);
 
 
 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
-				   const unsigned timeout)
+				   unsigned long timeout)
 {
 {
 	struct inet_connection_sock *icsk = inet_csk(sk);
 	struct inet_connection_sock *icsk = inet_csk(sk);
 	struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt;
 	struct listen_sock *lopt = icsk->icsk_accept_queue.listen_opt;