On Mon, Jun 27, 2016 at 9:51 AM, Eric Dumazet <eric.duma...@gmail.com> wrote: > From: Eric Dumazet <eduma...@google.com> > > Some arches have virtually mapped kernel stacks, or will soon have. > > tcp_md5_hash_header() uses an automatic variable to copy tcp header > before mangling th->check and calling crypto function, which might > be problematic on such arches. > > David says that using percpu storage is also problematic on non SMP > builds. > > Just use kmalloc() to allocate scratch areas.
Seems reasonable. I wonder if it's worth switching from ahash to shash, though. It would probably be simpler and faster. --Andy