diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-25 17:39:21 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-25 23:00:39 +0300 |
commit | 0f935dbedc49a5044ebff08b47eef35a2f2bbe92 (patch) | |
tree | 470e67d3dc8eb23d39878e2be349ff07bf6a0793 /net/ipv6 | |
parent | 1c1e9d2b67897316770fc8a2e1acdd9f2787838d (diff) | |
download | linux-0f935dbedc49a5044ebff08b47eef35a2f2bbe92.tar.xz |
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 <edumazet@google.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6')
-rw-r--r-- | net/ipv6/tcp_ipv6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/tcp_ipv6.c b/net/ipv6/tcp_ipv6.c index 1071131a6c53..16fb299dcab8 100644 --- a/net/ipv6/tcp_ipv6.c +++ b/net/ipv6/tcp_ipv6.c @@ -434,7 +434,7 @@ out: } -static int tcp_v6_send_synack(struct sock *sk, struct dst_entry *dst, +static int tcp_v6_send_synack(const struct sock *sk, struct dst_entry *dst, struct flowi *fl, struct request_sock *req, u16 queue_mapping, |