projects
/
reactos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[AFD] Mark the socket as named pipe, so NtWriteFile actually knows what to do with it.
[reactos.git]
/
drivers
/
network
/
afd
/
afd
/
main.c
diff --git
a/drivers/network/afd/afd/main.c
b/drivers/network/afd/afd/main.c
index
8f3886e
..
04e2865
100644
(file)
--- a/
drivers/network/afd/afd/main.c
+++ b/
drivers/network/afd/afd/main.c
@@
-313,6
+313,7
@@
AfdCreateSocket(PDEVICE_OBJECT DeviceObject, PIRP Irp,
DeviceExt = DeviceObject->DeviceExtension;
FileObject = IrpSp->FileObject;
+ FileObject->Flags |= FO_NAMED_PIPE;
//Disposition = (IrpSp->Parameters.Create.Options >> 24) & 0xff;
Irp->IoStatus.Information = 0;