Re: [PATCH] net/tls: Fix kmap usage

From: David Miller
Date: Tue Aug 11 2020 - 13:21:50 EST


From: ira.weiny@xxxxxxxxx
Date: Mon, 10 Aug 2020 17:02:58 -0700

> From: Ira Weiny <ira.weiny@xxxxxxxxx>
>
> When MSG_OOB is specified to tls_device_sendpage() the mapped page is
> never unmapped.
>
> Hold off mapping the page until after the flags are checked and the page
> is actually needed.
>
> Signed-off-by: Ira Weiny <ira.weiny@xxxxxxxxx>

Applied and queued up for -stable, thank you.