Make sure sk_security is initialized on accept()ed sockets
PATCH 1/1 Make sure sk_security is initialized on accept()ed sockets
Signed-off-by Miloslav Trmač <[email protected]>
--- crypto/af_alg.c | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
crypto/af_alg.c +1 -0
@@ -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) {
Signature · 1 line
1.7.3.2
Herbert Xu
maintainerQuoted 2 lines · Miloslav Trmač
Signed-off-by Miloslav Trmač <[email protected]>
All applied. Thanks Miloslav!
Signature · 3 lines
Email: Herbert Xu <[email protected]> Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt