From cc84898c4c1b52be8fff4431b6dd5d0fdd8721e0 Mon Sep 17 00:00:00 2001 From: Sorin Vinturis Date: Thu, 18 Jun 2015 13:48:09 +0000 Subject: [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 Reported-by: Sorin Vinturis Reported-at: https://github.com/openvswitch/ovs-issues/issues/83 Acked-by: Alin Gabriel Serdean Signed-off-by: Ben Pfaff --- 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 b5832de3b..d8024c85f 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); } -- 2.20.1