tcp/dccp: constify rtx_synack() and friends
This is done to make sure we do not change listener socket while sending SYNACK packets while socket lock is not held. 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
802885fc04
commit
ea3bea3a1d
@ -1676,7 +1676,7 @@ int tcp4_proc_init(void);
|
||||
void tcp4_proc_exit(void);
|
||||
#endif
|
||||
|
||||
int tcp_rtx_synack(struct sock *sk, struct request_sock *req);
|
||||
int tcp_rtx_synack(const struct sock *sk, struct request_sock *req);
|
||||
int tcp_conn_request(struct request_sock_ops *rsk_ops,
|
||||
const struct tcp_request_sock_ops *af_ops,
|
||||
struct sock *sk, struct sk_buff *skb);
|
||||
|
Reference in New Issue
Block a user