On 02/03/2016 05:39 AM, Herbert Xu wrote: > The async path in algif_skcipher assumes that the crypto completion > function will be called with the original request. This is not > necessarily the case. In fact there is no need for this anyway > since we already embed information into the request with struct > skcipher_async_req. > > This patch adds a pointer to that struct and then passes it as > the data to the callback function. > > Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> > --- > > crypto/algif_skcipher.c | 60 ++++++++++++++++++++++-------------------------- > 1 file changed, 28 insertions(+), 32 deletions(-) Tested-by: Tadeusz Struk <tadeusz.struk@xxxxxxxxx> Thanks, -- TS -- To unsubscribe from this list: send the line "unsubscribe linux-crypto" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html