Re: [PATCH v2] crypto: af_alg - Remove zero-copy support from AF_ALG

Eric Biggers
2026-05-04T09:24:44Z

On Mon, May 04, 2026 at 12:10:25AM -0700, Eric Biggers wrote:
> Thus, the risks of the zero-copy support in AF_ALG vastly outweigh its
> benefits. Just remove it.

I realized that the "hash" algorithm type still does zero-copy even
after this patch. I.e. this patch affects only "skcipher" and "aead".
Those are the more important ones, but we should do "hash" too.

The diff is still fine, but I'll adjust the patch description to clarify
the scope, and send a separate patch to handle "hash".

- Eric