]> www.infradead.org Git - users/jedix/linux-maple.git/commit
crypto: algif_aead - fix for multiple operations on AF_ALG sockets
authorLars Persson <lars.persson@axis.com>
Tue, 25 Aug 2015 09:59:15 +0000 (11:59 +0200)
committerChuck Anderson <chuck.anderson@oracle.com>
Sun, 26 Feb 2017 05:34:21 +0000 (21:34 -0800)
commit4890b27f8143bb8135c3cd89482d14d94b0026f2
treeff4e284f29373297d876ca5bad863e5467f9bca4
parent31961aaaa956edf56c7a3a1905a46f2213788c73
crypto: algif_aead - fix for multiple operations on AF_ALG sockets

Orabug: 25243093

The tsgl scatterlist must be re-initialized after each
operation. Otherwise the sticky bits in the page_link will corrupt the
list with pre-mature termination or false chaining.

Signed-off-by: Lars Persson <larper@axis.com>
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
(cherry picked from commit bf433416e67597ba105ece55b3136557874945db)
Signed-off-by: Ethan Zhao <ethan.zhao@oracle.com>
crypto/algif_aead.c