diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 10:42:47 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-29 19:53:09 -0400 |
commit | c28c6f045945f53e842467bf0e86c5fac051643d (patch) | |
tree | 2e56881da4ad67d27221265d58112fcedf33a71c /include/net/tcp.h | |
parent | 54105f98f544ec5305bf1fad292ca454ad55ef67 (diff) |
tcp: constify tcp_create_openreq_child() socket argument
This method does not touch the listener socket.
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/net/tcp.h b/include/net/tcp.h index 1fe0bd458cb4..85995c1291d0 100644 --- a/include/net/tcp.h +++ b/include/net/tcp.h | |||
@@ -450,7 +450,7 @@ void tcp_v4_send_check(struct sock *sk, struct sk_buff *skb); | |||
450 | void tcp_v4_mtu_reduced(struct sock *sk); | 450 | void tcp_v4_mtu_reduced(struct sock *sk); |
451 | void tcp_req_err(struct sock *sk, u32 seq); | 451 | void tcp_req_err(struct sock *sk, u32 seq); |
452 | int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb); | 452 | int tcp_v4_conn_request(struct sock *sk, struct sk_buff *skb); |
453 | struct sock *tcp_create_openreq_child(struct sock *sk, | 453 | struct sock *tcp_create_openreq_child(const struct sock *sk, |
454 | struct request_sock *req, | 454 | struct request_sock *req, |
455 | struct sk_buff *skb); | 455 | struct sk_buff *skb); |
456 | void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst); | 456 | void tcp_ca_openreq_child(struct sock *sk, const struct dst_entry *dst); |