Re: [PATCH net] tls: don't use stack memory in a scatterlist

From: David Miller
Date: Thu May 17 2018 - 13:54:19 EST


From: Matt Mullins <mmullins@xxxxxx>
Date: Wed, 16 May 2018 10:48:40 -0700

> scatterlist code expects virt_to_page() to work, which fails with
> CONFIG_VMAP_STACK=y.
>
> Fixes: c46234ebb4d1e ("tls: RX path for ktls")
> Signed-off-by: Matt Mullins <mmullins@xxxxxx>

Applied and queued up for -stable, thanks.

I'm surprised this problem wasn't discovered sooner. How exactly did you
discover it? Did you actually see it trigger or is this purely from code
inspection?