Commit 54105f98 authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller

dccp: constify dccp_create_openreq_child() sock argument

socket no longer needs to be read/write
Signed-off-by: default avatarEric Dumazet <edumazet@google.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 87e002b2
...@@ -270,7 +270,7 @@ int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp, ...@@ -270,7 +270,7 @@ int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp,
int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb); int dccp_v4_conn_request(struct sock *sk, struct sk_buff *skb);
struct sock *dccp_create_openreq_child(struct sock *sk, struct sock *dccp_create_openreq_child(const struct sock *sk,
const struct request_sock *req, const struct request_sock *req,
const struct sk_buff *skb); const struct sk_buff *skb);
......
...@@ -72,7 +72,7 @@ void dccp_time_wait(struct sock *sk, int state, int timeo) ...@@ -72,7 +72,7 @@ void dccp_time_wait(struct sock *sk, int state, int timeo)
dccp_done(sk); dccp_done(sk);
} }
struct sock *dccp_create_openreq_child(struct sock *sk, struct sock *dccp_create_openreq_child(const struct sock *sk,
const struct request_sock *req, const struct request_sock *req,
const struct sk_buff *skb) const struct sk_buff *skb)
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment