aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-09-25 10:39:23 -0400
committerDavid S. Miller <davem@davemloft.net>2015-09-25 16:00:39 -0400
commitea3bea3a1d38aab1542176b2ff11a99ce3db9656 (patch)
treeb7677994bf337d8295284c496def5f99066f13a2 /include/net/tcp.h
parent802885fc0400d0166a6b65d1844b61696aecbb10 (diff)
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>
Diffstat (limited to 'include/net/tcp.h')
-rw-r--r--include/net/tcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h
index 868c53532169..6630ab180f5c 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1676,7 +1676,7 @@ int tcp4_proc_init(void);
1676void tcp4_proc_exit(void); 1676void tcp4_proc_exit(void);
1677#endif 1677#endif
1678 1678
1679int tcp_rtx_synack(struct sock *sk, struct request_sock *req); 1679int tcp_rtx_synack(const struct sock *sk, struct request_sock *req);
1680int tcp_conn_request(struct request_sock_ops *rsk_ops, 1680int tcp_conn_request(struct request_sock_ops *rsk_ops,
1681 const struct tcp_request_sock_ops *af_ops, 1681 const struct tcp_request_sock_ops *af_ops,
1682 struct sock *sk, struct sk_buff *skb); 1682 struct sock *sk, struct sk_buff *skb);