Thread (8 messages) 8 messages, 4 authors, 2017-06-23

Re: [PATCH -net] tls: return -EFAULT if copy_to_user() fails

From: David Miller <davem@davemloft.net>
Date: 2017-06-23 18:20:33
Also in: kernel-janitors

From: Dan Carpenter <redacted>
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 <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help