提交 507cad35 编写于 作者: M Miloslav Trmač 提交者: Herbert Xu

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

Signed-off-by: NMiloslav Trmač <mitr@redhat.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 6f107b58
......@@ -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) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册