mirror of
https://github.com/ukui/kernel.git
synced 2026-03-09 10:07:04 -07:00
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>
This commit is contained in:
committed by
David S. Miller
parent
2b41fab70f
commit
42cb80a235
@@ -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);
|
||||
|
||||
@@ -433,7 +433,7 @@ int compat_tcp_getsockopt(struct sock *sk, int level, int optname,
|
||||
int compat_tcp_setsockopt(struct sock *sk, int level, int optname,
|
||||
char __user *optval, unsigned int optlen);
|
||||
void tcp_set_keepalive(struct sock *sk, int val);
|
||||
void tcp_syn_ack_timeout(struct sock *sk, struct request_sock *req);
|
||||
void tcp_syn_ack_timeout(const struct request_sock *req);
|
||||
int tcp_recvmsg(struct sock *sk, struct msghdr *msg, size_t len, int nonblock,
|
||||
int flags, int *addr_len);
|
||||
void tcp_parse_options(const struct sk_buff *skb,
|
||||
|
||||
Reference in New Issue
Block a user