android_kernel_motorola_sm6375/net/tls
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Dan Carpenter ac55cd6193 tls: return -EFAULT if copy_to_user() fails
The copy_to_user() function returns the number of bytes remaining but we
want to return -EFAULT here.

Fixes: 3c4d755915 ("tls: kernel TLS support")
Signed-off-by: Dan Carpenter <[email protected]>
Acked-by: Dave Watson <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
2017-06-23 14:19:27 -04:00
..
Kconfig tls: update Kconfig 2017-06-17 22:56:46 -04:00
Makefile
tls_main.c tls: return -EFAULT if copy_to_user() fails 2017-06-23 14:19:27 -04:00
tls_sw.c