https://git.reactos.org/?p=reactos.git;a=commitdiff;h=8b84b1c6b33576ff82077…
commit 8b84b1c6b33576ff8207712a109dd5fc93378c9d
Author: Mark Jansen <mark.jansen(a)reactos.org>
AuthorDate: Tue Mar 20 23:49:06 2018 +0100
Commit: Mark Jansen <mark.jansen(a)reactos.org>
CommitDate: Wed Mar 21 19:22:13 2018 +0100
[AFD] Mark the socket as named pipe, so NtWriteFile actually knows what to do with
it.
CORE-13067
---
drivers/network/afd/afd/main.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/drivers/network/afd/afd/main.c b/drivers/network/afd/afd/main.c
index 8f3886ef5c..04e28652c6 100644
--- 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;