[AFD] Mark the socket as named pipe, so NtWriteFile actually knows what to do with it.
authorMark Jansen <mark.jansen@reactos.org>
Tue, 20 Mar 2018 22:49:06 +0000 (23:49 +0100)
committerMark Jansen <mark.jansen@reactos.org>
Wed, 21 Mar 2018 18:22:13 +0000 (19:22 +0100)
CORE-13067

drivers/network/afd/afd/main.c

index 8f3886e..04e2865 100644 (file)
@@ -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;