|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [win-pv-devel] [PATCH] Fix a typo that causes 'low resources' to erroneously kick in
This patch fixes a typo which caused XENNET to operate in a 'low resources'
situation most of the time. This was almost certainly causing performance
issues and, oddly, caused the NDISTest 6.5 OffloadChecksum test to fail...
but only on Windows 8.0.
Signed-off-by: Paul Durrant <paul.durrant@xxxxxxxxxx>
---
src/xennet/receiver.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/xennet/receiver.c b/src/xennet/receiver.c
index 863dbd7..7645a8c 100644
--- a/src/xennet/receiver.c
+++ b/src/xennet/receiver.c
@@ -161,7 +161,7 @@ __ReceiverReturnNetBufferList(
VifInterface,
Cookie);
- (VOID) InterlockedIncrement(&Receiver->InNDIS);
+ (VOID) InterlockedDecrement(&Receiver->InNDIS);
}
static PNET_BUFFER_LIST
--
2.1.1
_______________________________________________
win-pv-devel mailing list
win-pv-devel@xxxxxxxxxxxxxxxxxxxx
http://lists.xenproject.org/cgi-bin/mailman/listinfo/win-pv-devel
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |