From: Dan Carpenter <[email protected]> Date: Fri, 23 Jun 2017 13:15:44 +0300
> The copy_to_user() function returns the number of bytes remaining but we
> want to return -EFAULT here.
>
> Fixes: 3c4d7559159b ("tls: kernel TLS support")
> Signed-off-by: Dan Carpenter <[email protected]>
Dan, I happened to realize that tls is only in net-next, but please
indicate the target tree properly in your Subject lines in the
future.
Applied, thanks.
