projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
- Use a spin lock to protect the port bitmap instead of a fast mutex
[reactos.git]
/
drivers
/
network
/
tcpip
/
include
/
ports.h
diff --git
a/drivers/network/tcpip/include/ports.h
b/drivers/network/tcpip/include/ports.h
index
7006829
..
3be3590
100644
(file)
--- a/
drivers/network/tcpip/include/ports.h
+++ b/
drivers/network/tcpip/include/ports.h
@@
-16,7
+16,7
@@
typedef struct _PORT_SET {
PVOID ProtoBitBuffer;
UINT StartingPort;
UINT PortsToOversee;
PVOID ProtoBitBuffer;
UINT StartingPort;
UINT PortsToOversee;
-
FAST_MUTEX Mutex
;
+
KSPIN_LOCK Lock
;
} PORT_SET, *PPORT_SET;
NTSTATUS PortsStartup( PPORT_SET PortSet,
} PORT_SET, *PPORT_SET;
NTSTATUS PortsStartup( PPORT_SET PortSet,