[ovs-dev] [PATCH] datapath-windows: Return pending for IRPs completed later

Alin Serdean aserdean at cloudbasesolutions.com
Thu Jun 18 14:01:59 UTC 2015


Acked-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>


-----Mesaj original-----
De la: dev [mailto:dev-bounces at openvswitch.org] În numele Sorin Vinturis
Trimis: Thursday, June 18, 2015 4:48 PM
Către: dev at openvswitch.org
Subiect: [ovs-dev] [PATCH] datapath-windows: Return pending for IRPs completed later

Return STATUS_PENDING for IRPs that are completed later in another thread.

Signed-off-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-by: Sorin Vinturis <svinturis at cloudbasesolutions.com>
Reported-at: https://github.com/openvswitch/ovs-issues/issues/83
---
 datapath-windows/ovsext/Datapath.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/datapath-windows/ovsext/Datapath.c b/datapath-windows/ovsext/Datapath.c
index b5832de..d8024c8 100644
--- a/datapath-windows/ovsext/Datapath.c
+++ b/datapath-windows/ovsext/Datapath.c
@@ -921,6 +921,7 @@ exit:
          * to be processed later, so we mark the IRP as pending and complete
          * it in another thread when the request is processed. */
         IoMarkIrpPending(irp);
+        return status;
     }
     return OvsCompleteIrpRequest(irp, (ULONG_PTR)replyLen, status);  }
--
1.9.0.msysgit.0
_______________________________________________
dev mailing list
dev at openvswitch.org
http://openvswitch.org/mailman/listinfo/dev


More information about the dev mailing list