-
Herbert Xu authored
When the first call to af_alg_make_sg fails, we may return garbage instead of the real error. This patch fixes it by setting the error if "copied" is zero. Based on a patch by Jesper Juhl. Reported-by:
Jesper Juhl <jj@chaosbits.net> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Herbert Xu authoredWhen the first call to af_alg_make_sg fails, we may return garbage instead of the real error. This patch fixes it by setting the error if "copied" is zero. Based on a patch by Jesper Juhl. Reported-by:
Jesper Juhl <jj@chaosbits.net> Signed-off-by:
Herbert Xu <herbert@gondor.apana.org.au>
Code owners
Assign users and groups as approvers for specific file changes. Learn more.