|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] [PATCH] Prevent frontend network accelerator plugin loading
Generate error if frontend plugin tries to connect on dom0
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
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [PATCH] Prevent frontend network accelerator plugin loading in dom0,
Kieran Mansley <=
|
|
|
|
|