projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
b9ab91b
)
- Store the address file handle in the IOSB
author
Cameron Gutman
<aicommander@gmail.com>
Sat, 9 Jan 2010 15:49:39 +0000
(15:49 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Sat, 9 Jan 2010 15:49:39 +0000
(15:49 +0000)
- MSAFD relies on this behavior to store the address file handle
svn path=/branches/aicom-network-branch/; revision=45015
drivers/network/afd/afd/bind.c
patch
|
blob
|
history
diff --git
a/drivers/network/afd/afd/bind.c
b/drivers/network/afd/afd/bind.c
index
c574a75
..
f2c2f4d
100644
(file)
--- a/
drivers/network/afd/afd/bind.c
+++ b/
drivers/network/afd/afd/bind.c
@@
-101,6
+101,7
@@
AfdBindSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
if (NT_SUCCESS(Status))
FCB->State = SOCKET_STATE_BOUND;
- return UnlockAndMaybeComplete( FCB, Status, Irp, 0 );
+ /* MSAFD relies on us returning the address file handle in the IOSB */
+ return UnlockAndMaybeComplete( FCB, Status, Irp, (ULONG_PTR)FCB->AddressFile.Handle );
}