Skip to content
Snippets Groups Projects
Commit 507cad35 authored by Miloslav Trmač's avatar Miloslav Trmač Committed by Herbert Xu
Browse files

crypto: af_alg - Make sure sk_security is initialized on accept()ed sockets

parent 6f107b58
No related branches found
No related tags found
No related merge requests found
......@@ -242,6 +242,7 @@ int af_alg_accept(struct sock *sk, struct socket *newsock)
goto unlock;
sock_init_data(newsock, sk2);
sock_graft(sk2, newsock);
err = type->accept(ask->private, sk2);
if (err) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment