diff options
author | Eric Dumazet <edumazet@google.com> | 2015-09-29 16:42:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-09-30 01:53:08 +0200 |
commit | 54105f98f544ec5305bf1fad292ca454ad55ef67 (patch) | |
tree | 3bf516d032f37b0e1170f6d8782640f1c5fe25a3 /net/dccp/minisocks.c | |
parent | net: constify sk_gfp_atomic() sock argument (diff) | |
download | linux-54105f98f544ec5305bf1fad292ca454ad55ef67.tar.xz linux-54105f98f544ec5305bf1fad292ca454ad55ef67.zip |
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 '')
-rw-r--r-- | net/dccp/minisocks.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/dccp/minisocks.c b/net/dccp/minisocks.c index 9bfd0dc1e6cb..d10aace43672 100644 --- a/net/dccp/minisocks.c +++ b/net/dccp/minisocks.c @@ -72,7 +72,7 @@ void dccp_time_wait(struct sock *sk, int state, int timeo) 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 sk_buff *skb) { |