diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-03 18:14:10 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2017-02-03 18:14:10 +0800 |
commit | 34cb58213948a0c26a228da903a3b37c2505843c (patch) | |
tree | 21970a3387c406654a13774b9ffab36744cea8ea /crypto/algif_aead.c | |
parent | 7dede913fc2ab9c0d3bff3a49e26fa9e858b0c13 (diff) | |
parent | 7c2cf1c4615cc2f576d0604406cdf0065f00b83b (diff) | |
download | op-kernel-dev-34cb58213948a0c26a228da903a3b37c2505843c.zip op-kernel-dev-34cb58213948a0c26a228da903a3b37c2505843c.tar.gz |
Merge git://git.kernel.org/pub/scm/linux/kernel/git/herbert/crypto-2.6
Merge the crypto tree to pick up arm64 output IV patch.
Diffstat (limited to 'crypto/algif_aead.c')
-rw-r--r-- | crypto/algif_aead.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/algif_aead.c b/crypto/algif_aead.c index f849311..533265f 100644 --- a/crypto/algif_aead.c +++ b/crypto/algif_aead.c @@ -661,9 +661,9 @@ static int aead_recvmsg_sync(struct socket *sock, struct msghdr *msg, int flags) unlock: list_for_each_entry_safe(rsgl, tmp, &ctx->list, list) { af_alg_free_sg(&rsgl->sgl); + list_del(&rsgl->list); if (rsgl != &ctx->first_rsgl) sock_kfree_s(sk, rsgl, sizeof(*rsgl)); - list_del(&rsgl->list); } INIT_LIST_HEAD(&ctx->list); aead_wmem_wakeup(sk); |