]> xenbits.xensource.com Git - pvdrivers/win/xenbus.git/commitdiff
Correct a small DPC accounting oversight in STORE
authorPaul Durrant <paul.durrant@citrix.com>
Thu, 2 Feb 2017 10:03:10 +0000 (10:03 +0000)
committerPaul Durrant <paul.durrant@citrix.com>
Thu, 2 Feb 2017 17:34:57 +0000 (17:34 +0000)
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
src/xenbus/store.c

index 6bca5e9d51c4e5e975cbbedaa22fe5880d8ebb15..86bbcb8cdb79cc5882081357b2e938014876074f 100644 (file)
@@ -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