From: "Michael S. Tsirkin" <mst@redhat.com> Date: 2015-02-24 16:31:17
The 2 that we use for copy_to_iter comes from sizeof(u16),
it used to be that way before the iov iter update.
Fix it up, making it obvious the size of stack access
is right.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
---
drivers/vhost/net.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
From: David Miller <davem@davemloft.net> Date: 2015-02-25 21:56:58
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Tue, 24 Feb 2015 17:31:10 +0100
The 2 that we use for copy_to_iter comes from sizeof(u16),
it used to be that way before the iov iter update.
Fix it up, making it obvious the size of stack access
is right.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael, what tree do you want these two patches to go through?
From: "Michael S. Tsirkin" <mst@redhat.com> Date: 2015-02-26 08:21:40
On Wed, Feb 25, 2015 at 04:56:52PM -0500, David Miller wrote:
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Tue, 24 Feb 2015 17:31:10 +0100
quoted
The 2 that we use for copy_to_iter comes from sizeof(u16),
it used to be that way before the iov iter update.
Fix it up, making it obvious the size of stack access
is right.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Michael, what tree do you want these two patches to go through?
Sorry about being unclear.
They are net specific so I'd like them merged for 4.0 through net tree.
If that's a problem, pls let me know.
Thanks,
--
MST
From: David Miller <davem@davemloft.net> Date: 2015-02-27 20:58:43
From: "Michael S. Tsirkin" <mst@redhat.com>
Date: Tue, 24 Feb 2015 17:31:10 +0100
The 2 that we use for copy_to_iter comes from sizeof(u16),
it used to be that way before the iov iter update.
Fix it up, making it obvious the size of stack access
is right.
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>