Lines Matching refs:ctl_sk
693 struct sock *ctl_sk; in tcp_v4_send_reset() local
823 ctl_sk = this_cpu_read(ipv4_tcp_sk); in tcp_v4_send_reset()
824 sock_net_set(ctl_sk, net); in tcp_v4_send_reset()
826 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset()
828 ctl_sk->sk_priority = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_reset()
831 xfrm_sk_clone_policy(ctl_sk, sk); in tcp_v4_send_reset()
833 ip_send_unicast_reply(ctl_sk, in tcp_v4_send_reset()
839 ctl_sk->sk_mark = 0; in tcp_v4_send_reset()
840 xfrm_sk_free_policy(ctl_sk); in tcp_v4_send_reset()
841 sock_net_set(ctl_sk, &init_net); in tcp_v4_send_reset()
873 struct sock *ctl_sk; in tcp_v4_send_ack() local
925 ctl_sk = this_cpu_read(ipv4_tcp_sk); in tcp_v4_send_ack()
926 sock_net_set(ctl_sk, net); in tcp_v4_send_ack()
927 ctl_sk->sk_mark = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack()
929 ctl_sk->sk_priority = (sk->sk_state == TCP_TIME_WAIT) ? in tcp_v4_send_ack()
932 ip_send_unicast_reply(ctl_sk, in tcp_v4_send_ack()
938 ctl_sk->sk_mark = 0; in tcp_v4_send_ack()
939 sock_net_set(ctl_sk, &init_net); in tcp_v4_send_ack()