summaryrefslogtreecommitdiffstats
path: root/crypto/af_alg.c
diff options
context:
space:
mode:
authorMiloslav Trmač <mitr@redhat.com>2010-11-30 18:47:00 +0100
committerMiloslav Trmač <mitr@redhat.com>2010-11-30 18:47:00 +0100
commit0eda0e16d9e63d82b6dd96b6abe7042d50b6b308 (patch)
tree3a31216571ca15c7cd9ea57f83e0e7b4cdfc3f9c /crypto/af_alg.c
parent5eccbc32899a5e083700fc0ee4574a4a3f86d6ff (diff)
parent1bc8649e4645cce8e37151a899cedf8ee44dbdaa (diff)
downloadkernel-crypto-integration.tar.gz
kernel-crypto-integration.tar.xz
kernel-crypto-integration.zip
Merge branch 'bugfixes' into integrationintegration
Diffstat (limited to 'crypto/af_alg.c')
-rw-r--r--crypto/af_alg.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c
index 450d51abe84..31f2b224ae4 100644
--- a/crypto/af_alg.c
+++ b/crypto/af_alg.c
@@ -312,6 +312,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) {