From: Sorin Vinturis Date: Thu, 18 Jun 2015 13:48:09 +0000 (+0000) Subject: datapath-windows: Return pending for IRPs completed later X-Git-Tag: v2.4.0~82 X-Git-Url: http://git.cascardo.eti.br/?p=cascardo%2Fovs.git;a=commitdiff_plain;h=cc84898c4c1b52be8fff4431b6dd5d0fdd8721e0 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 --- 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); }