[ofw] [PATCH] winverbs/driver: change status for rejected connections
Sean Hefty
sean.hefty at intel.com
Fri Aug 7 17:11:46 PDT 2009
Complete connection requests with STATUS_CONNECTION_REFUSED rather
than STATUS_REQUEST_NOT_ACCEPTED for rejected connections. This aligns
the status value with ND.
Signed-off-by: Sean Hefty <sean.hefty at intel.com>
---
diff -up -r -X \mshefty\scm\winof\trunk\docs\dontdiff.txt -I '\$Id:'
trunk\core\winverbs/kernel/wv_ep.c
branches\winverbs\core\winverbs/kernel/wv_ep.c
--- trunk\core\winverbs/kernel/wv_ep.c 2009-08-07 15:05:05.407825300 -0700
+++ branches\winverbs\core\winverbs/kernel/wv_ep.c 2009-08-07
15:38:58.686479000 -0700
@@ -525,7 +525,7 @@ static NTSTATUS WvEpIbCmHandler(iba_cm_i
if (ep->State == WvEpPassiveConnect || ep->State ==
WvEpActiveConnect) {
ep->State = WvEpDisconnected;
WvEpSaveReject(ep, &pEvent->data.rej);
- WvCompleteRequests(ep->Queue,
STATUS_REQUEST_NOT_ACCEPTED);
+ WvCompleteRequests(ep->Queue,
STATUS_CONNECTION_REFUSED);
}
WdfObjectReleaseLock(ep->Queue);
break;
More information about the ofw
mailing list