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)
commitbf433416e67597ba105ece55b3136557874945db
treea1dda9973c73ba88e203c931e77c6b4f51eb877e
parentdf9e21e100a65618b56971ec8da4975eb60e919d
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