We need to check the we don't copy too much memory. This comes from a
copy_from_user() in the ioctl.
Signed-off-by: Dan Carpenter
diff --git a/drivers/staging/vt6656/key.c b/drivers/staging/vt6656/key.c
index 27bb523..ee62a06 100644
--- a/drivers/staging/vt6656/key.c
+++ b/drivers/staging/vt665
From: Ben Hutchings
Date: Wed, 28 Mar 2012 19:05:00 +0100
> On Mon, 2012-03-26 at 19:12 -0400, David Miller wrote:
>> From: Greg KH
>> Date: Mon, 26 Mar 2012 16:10:17 -0700
>>
>> > David, please do NOT apply this as-is.
>>
>> BTW, ethtool had controls exactly for stuff like this.
>
> Not sure
> -Original Message-
> From: Dan Carpenter [mailto:dan.carpen...@oracle.com]
> Sent: Wednesday, March 28, 2012 2:58 AM
> To: KY Srinivasan
> Cc: Haiyang Zhang; devel@linuxdriverproject.org; kernel-
> janit...@vger.kernel.org
> Subject: [patch] hv: fix return type of hv_post_message()
>
>
On Mon, 2012-03-26 at 19:12 -0400, David Miller wrote:
> From: Greg KH
> Date: Mon, 26 Mar 2012 16:10:17 -0700
>
> > David, please do NOT apply this as-is.
>
> BTW, ethtool had controls exactly for stuff like this.
Not sure what you're thinking of...? We have pause frame control but I
don't th