Re: [PATCH] vhost: drop hard-coded num_buffers size

2015-02-27 Thread David Miller
From: "Michael S. Tsirkin" 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 Applied.

Re: [PATCH] vhost: drop hard-coded num_buffers size

2015-02-27 Thread David Miller
From: Michael S. Tsirkin m...@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

Re: [PATCH] vhost: drop hard-coded num_buffers size

2015-02-26 Thread Michael S. Tsirkin
On Wed, Feb 25, 2015 at 04:56:52PM -0500, David Miller wrote: > From: "Michael S. Tsirkin" > 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

Re: [PATCH] vhost: drop hard-coded num_buffers size

2015-02-26 Thread Michael S. Tsirkin
On Wed, Feb 25, 2015 at 04:56:52PM -0500, David Miller wrote: From: Michael S. Tsirkin m...@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

Re: [PATCH] vhost: drop hard-coded num_buffers size

2015-02-25 Thread David Miller
From: "Michael S. Tsirkin" 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 Michael,

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-25 Thread Michael S. Tsirkin
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 --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-25 Thread Michael S. Tsirkin
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 m...@redhat.com --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1

Re: [PATCH] vhost: drop hard-coded num_buffers size

2015-02-25 Thread David Miller
From: Michael S. Tsirkin m...@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

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-24 Thread Michael S. Tsirkin
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 --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[PATCH] vhost: drop hard-coded num_buffers size

2015-02-24 Thread Michael S. Tsirkin
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 m...@redhat.com --- drivers/vhost/net.c | 3 ++- 1 file changed, 2 insertions(+), 1