search for: b8e1127

Displaying 2 results from an estimated 2 matches for "b8e1127".

Did you mean: 81127
2010 Apr 13
1
[PATCH] vhost-net: fix vq_memory_access_ok error checking
...hat.com> This was already queued by me, you do not need to fill Dave's inbox with vhost patches. > --- > drivers/vhost/vhost.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > index 7bd7a1e..b8e1127 100644 > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -235,6 +235,10 @@ static int vq_memory_access_ok(void __user *log_base, struct vhost_memory *mem, > int log_all) > { > int i; > + > + if (!mem) > + return 0; > +...
2010 Apr 13
1
[PATCH] vhost-net: fix vq_memory_access_ok error checking
...hat.com> This was already queued by me, you do not need to fill Dave's inbox with vhost patches. > --- > drivers/vhost/vhost.c | 4 ++++ > 1 files changed, 4 insertions(+), 0 deletions(-) > > diff --git a/drivers/vhost/vhost.c b/drivers/vhost/vhost.c > index 7bd7a1e..b8e1127 100644 > --- a/drivers/vhost/vhost.c > +++ b/drivers/vhost/vhost.c > @@ -235,6 +235,10 @@ static int vq_memory_access_ok(void __user *log_base, struct vhost_memory *mem, > int log_all) > { > int i; > + > + if (!mem) > + return 0; > +...