[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [Xen-devel] [PATCH] Prevent frontend network accelerator plugin loading in dom0
On Fri, 2008-02-08 at 14:30 +0000, Kieran Mansley wrote: > Generate error if frontend plugin tries to connect on dom0 Forgot the: Signed-off-by: Kieran Mansley <kmansley@xxxxxxxxxxxxxx> > diff -r bb5ece87256b drivers/xen/netfront/accel.c > --- a/drivers/xen/netfront/accel.c > +++ b/drivers/xen/netfront/accel.c > @@ -446,6 +446,9 @@ int netfront_accelerator_loaded(int vers > { > struct netfront_accelerator *accelerator; > > + if (is_initial_xendomain()) > + return -EINVAL; > + > if (version != NETFRONT_ACCEL_VERSION) { > if (version > NETFRONT_ACCEL_VERSION) { > /* Caller has higher version number, leave it > > > > _______________________________________________ > Xen-devel mailing list > Xen-devel@xxxxxxxxxxxxxxxxxxx > http://lists.xensource.com/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |