diff options
author | Eric Dumazet <edumazet@google.com> | 2015-03-22 18:22:19 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-03-23 21:52:25 +0100 |
commit | 42cb80a2353f42913ae78074ffa1f1b4a49e5436 (patch) | |
tree | 9e56ac0332e4da25abce1e03aac9503ba62341b0 /include/net/request_sock.h | |
parent | inet: cache listen_sock_qlen() and read rskq_defer_accept once (diff) | |
download | linux-42cb80a2353f42913ae78074ffa1f1b4a49e5436.tar.xz linux-42cb80a2353f42913ae78074ffa1f1b4a49e5436.zip |
inet: remove sk_listener parameter from syn_ack_timeout()
It is not needed, and req->sk_listener points to the listener anyway.
request_sock argument can be const.
Signed-off-by: Eric Dumazet <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net/request_sock.h')
-rw-r--r-- | include/net/request_sock.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/net/request_sock.h b/include/net/request_sock.h index 6a91261d9b7b..8603c350fad0 100644 --- a/include/net/request_sock.h +++ b/include/net/request_sock.h @@ -39,8 +39,7 @@ struct request_sock_ops { void (*send_reset)(struct sock *sk, struct sk_buff *skb); void (*destructor)(struct request_sock *req); - void (*syn_ack_timeout)(struct sock *sk, - struct request_sock *req); + void (*syn_ack_timeout)(const struct request_sock *req); }; int inet_rtx_syn_ack(struct sock *parent, struct request_sock *req); |