Searched refs:sk2 (Results 1 – 2 of 2) sorted by relevance
263 struct sock *sk2; in af_alg_accept() local274 sk2 = sk_alloc(sock_net(sk), PF_ALG, GFP_KERNEL, &alg_proto); in af_alg_accept()276 if (!sk2) in af_alg_accept()279 sock_init_data(newsock, sk2); in af_alg_accept()280 sock_graft(sk2, newsock); in af_alg_accept()281 security_sk_clone(sk, sk2); in af_alg_accept()283 err = type->accept(ask->private, sk2); in af_alg_accept()287 err = type->accept_nokey(ask->private, sk2); in af_alg_accept()292 sk2->sk_family = PF_ALG; in af_alg_accept()297 alg_sk(sk2)->parent = sk; in af_alg_accept()[all …]
199 struct sock *sk2; in hash_accept() local212 sk2 = newsock->sk; in hash_accept()213 ask2 = alg_sk(sk2); in hash_accept()219 sock_orphan(sk2); in hash_accept()220 sock_put(sk2); in hash_accept()