tls: don't use stack memory in a scatterlist
authorMatt Mullins <mmullins@fb.com>
Wed, 16 May 2018 17:48:40 +0000 (10:48 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 May 2018 18:49:38 +0000 (14:49 -0400)
commit8ab6ffba14a466c7298cb3fd5066d774d2977ad1
tree1268965992a239e0ec8e958538d9ce2f8870ed0c
parent7063efd33bb15abc0160347f89eb5aba6b7d000e
tls: don't use stack memory in a scatterlist

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@fb.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/tls.h
net/tls/tls_sw.c