X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=crypto%2Faf_alg.c;h=6a3ad801158531435848a40936a9bd74a7a522e6;hb=refs%2Fheads%2Ftx6-rel-2015-02-27-mfg;hp=966f893711b393a3f4a7f22252b0d1cf6eb8dc98;hpb=895be5b31e5175bef575008aadb4f0a27b850daa;p=karo-tx-linux.git diff --git a/crypto/af_alg.c b/crypto/af_alg.c index 966f893711b3..6a3ad8011585 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@ -21,6 +21,7 @@ #include #include #include +#include struct alg_type_list { const struct af_alg_type *type; @@ -243,6 +244,7 @@ int af_alg_accept(struct sock *sk, struct socket *newsock) sock_init_data(newsock, sk2); sock_graft(sk2, newsock); + security_sk_clone(sk, sk2); err = type->accept(ask->private, sk2); if (err) {