Lines Matching refs:newsk
402 struct sock *newsk; in dccp_v4_request_recv_sock() local
407 newsk = dccp_create_openreq_child(sk, req, skb); in dccp_v4_request_recv_sock()
408 if (newsk == NULL) in dccp_v4_request_recv_sock()
411 newinet = inet_sk(newsk); in dccp_v4_request_recv_sock()
413 sk_daddr_set(newsk, ireq->ir_rmt_addr); in dccp_v4_request_recv_sock()
414 sk_rcv_saddr_set(newsk, ireq->ir_loc_addr); in dccp_v4_request_recv_sock()
421 if (dst == NULL && (dst = inet_csk_route_child_sock(sk, newsk, req)) == NULL) in dccp_v4_request_recv_sock()
424 sk_setup_caps(newsk, dst); in dccp_v4_request_recv_sock()
426 dccp_sync_mss(newsk, dst_mtu(dst)); in dccp_v4_request_recv_sock()
428 if (__inet_inherit_port(sk, newsk) < 0) in dccp_v4_request_recv_sock()
430 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v4_request_recv_sock()
435 return newsk; in dccp_v4_request_recv_sock()
446 inet_csk_prepare_forced_close(newsk); in dccp_v4_request_recv_sock()
447 dccp_done(newsk); in dccp_v4_request_recv_sock()