[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20170623.142030.1486260738446581677.davem@davemloft.net>
Date: Fri, 23 Jun 2017 14:20:30 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: dan.carpenter@...cle.com
Cc: davejwatson@...com, aviadye@...lanox.com, ilyal@...lanox.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH -net] tls: return -EFAULT if copy_to_user() fails
From: Dan Carpenter <dan.carpenter@...cle.com>
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 <dan.carpenter@...cle.com>
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.
Powered by blists - more mailing lists