]> git.baikalelectronics.ru Git - kernel.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)
committerHerbert Xu <herbert@gondor.apana.org.au>
Tue, 25 Aug 2015 13:13:20 +0000 (21:13 +0800)
commit6244c914b2488fee73dc694c0e2676cbead437bc
treea1dda9973c73ba88e203c931e77c6b4f51eb877e
parentead1096bf7fc80b0d77d29a6226365b2c7234185
crypto: algif_aead - fix for multiple operations on AF_ALG sockets

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>
crypto/algif_aead.c