summaryrefslogtreecommitdiffstats
path: root/net/dccp/dccp.h
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2015-09-29 07:42:46 -0700
committerDavid S. Miller <davem@davemloft.net>2015-09-29 16:53:08 -0700
commit54105f98f544ec5305bf1fad292ca454ad55ef67 (patch)
tree3bf516d032f37b0e1170f6d8782640f1c5fe25a3 /net/dccp/dccp.h
parent87e002b21aafccfe71faeec62f3543d30600a518 (diff)
downloadlinux-0-day-54105f98f544ec5305bf1fad292ca454ad55ef67.tar.gz
linux-0-day-54105f98f544ec5305bf1fad292ca454ad55ef67.tar.xz
dccp: constify dccp_create_openreq_child() sock argument
socket no longer needs to be read/write Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/dccp/dccp.h')
-rw-r--r--net/dccp/dccp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/dccp.h b/net/dccp/dccp.h
index 8ed1df2771bd6..2409619b7043f 100644
--- a/net/dccp/dccp.h
+++ b/net/dccp/dccp.h
@@ -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);
-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 sk_buff *skb);