[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[win-pv-devel] [PATCH] Correct a small DPC accounting oversight in STORE



Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
 src/xenbus/store.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/xenbus/store.c b/src/xenbus/store.c
index 6bca5e9..86bbcb8 100644
--- a/src/xenbus/store.c
+++ b/src/xenbus/store.c
@@ -2153,7 +2153,8 @@ StoreEnable(
               Port);
 
     // Trigger an initial poll
-    KeInsertQueueDpc(&Context->Dpc, NULL, NULL);
+    if (KeInsertQueueDpc(&Context->Dpc, NULL, NULL))
+        Context->Dpcs++;
 }
 
 static PHYSICAL_ADDRESS
-- 
2.5.3


_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.