aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/tcp.h
diff options
context:
space:
mode:
authorEric Dumazet <[email protected]>2015-09-25 14:39:21 +0000
committerDavid S. Miller <[email protected]>2015-09-25 20:00:39 +0000
commit0f935dbedc49a5044ebff08b47eef35a2f2bbe92 (patch)
tree470e67d3dc8eb23d39878e2be349ff07bf6a0793 /include/net/tcp.h
parentipv6: constify ip6_xmit() sock argument (diff)
downloadkernel-0f935dbedc49a5044ebff08b47eef35a2f2bbe92.tar.gz
kernel-0f935dbedc49a5044ebff08b47eef35a2f2bbe92.zip
tcp: constify tcp_v{4|6}_send_synack() socket argument
This documents fact that listener lock might not be held at the time SYNACK are sent. Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
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 19f23590baa0..868c53532169 100644
--- a/include/net/tcp.h
+++ b/include/net/tcp.h
@@ -1717,7 +1717,7 @@ struct tcp_request_sock_ops {
const struct request_sock *req,
bool *strict);
__u32 (*init_seq)(const struct sk_buff *skb);
- int (*send_synack)(struct sock *sk, struct dst_entry *dst,
+ int (*send_synack)(const struct sock *sk, struct dst_entry *dst,
struct flowi *fl, struct request_sock *req,
u16 queue_mapping, struct tcp_fastopen_cookie *foc);
void (*queue_hash_add)(struct sock *sk, struct request_sock *req,