mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
dccp: constify dccp_create_openreq_child() sock argument
socket no longer needs to be read/write Signed-off-by: Eric Dumazet <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
87e002b21a
commit
54105f98f5
2 changed files with 2 additions and 2 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue