Re: [PATCH 3/4] vhost-net: Free ubuf when vhost_dev_ioctl fails

2013-05-05 Thread Asias He
On Sun, May 05, 2013 at 04:50:07PM +0300, Michael S. Tsirkin wrote: > On Fri, May 03, 2013 at 02:25:17PM +0800, Asias He wrote: > > Free ubuf when vhost_dev_ioctl for VHOST_SET_OWNER fails. > > > > Signed-off-by: Asias He > > --- > > drivers/vhost/net.c | 20 ++-- > > 1 file chan

Re: [PATCH 3/4] vhost-net: Free ubuf when vhost_dev_ioctl fails

2013-05-05 Thread Michael S. Tsirkin
On Fri, May 03, 2013 at 02:25:17PM +0800, Asias He wrote: > Free ubuf when vhost_dev_ioctl for VHOST_SET_OWNER fails. > > Signed-off-by: Asias He > --- > drivers/vhost/net.c | 20 ++-- > 1 file changed, 18 insertions(+), 2 deletions(-) > > diff --git a/drivers/vhost/net.c b/driv

[PATCH 3/4] vhost-net: Free ubuf when vhost_dev_ioctl fails

2013-05-02 Thread Asias He
Free ubuf when vhost_dev_ioctl for VHOST_SET_OWNER fails. Signed-off-by: Asias He --- drivers/vhost/net.c | 20 ++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/drivers/vhost/net.c b/drivers/vhost/net.c index b2f6b41..eb73217 100644 --- a/drivers/vhost/net.c ++