Commit in reactos/drivers/net/afd/afd on MAIN
bind.c+2-21.2 -> 1.3
connect.c+2-21.2 -> 1.3
context.c+3-31.2 -> 1.3
info.c+2-21.2 -> 1.3
listen.c+2-21.2 -> 1.3
+11-11
5 modified files
Fixed after prototype change.

reactos/drivers/net/afd/afd
bind.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- bind.c	18 Jul 2004 22:49:17 -0000	1.2
+++ bind.c	18 Jul 2004 22:53:59 -0000	1.3
@@ -1,4 +1,4 @@
-/* $Id: bind.c,v 1.2 2004/07/18 22:49:17 arty Exp $
+/* $Id: bind.c,v 1.3 2004/07/18 22:53:59 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/bind.c
@@ -47,7 +47,7 @@
     
     AFD_DbgPrint(MID_TRACE,("Called\n"));
     
-    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
+    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, FALSE );
     if( !(BindReq = LockRequest( Irp, IrpSp )) ) 
 	return UnlockAndMaybeComplete( FCB, STATUS_NO_MEMORY, 
 				       Irp, 0, NULL, FALSE );

reactos/drivers/net/afd/afd
connect.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- connect.c	18 Jul 2004 22:49:17 -0000	1.2
+++ connect.c	18 Jul 2004 22:53:59 -0000	1.3
@@ -1,4 +1,4 @@
-/* $Id: connect.c,v 1.2 2004/07/18 22:49:17 arty Exp $
+/* $Id: connect.c,v 1.3 2004/07/18 22:53:59 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/connect.c
@@ -129,7 +129,7 @@
     PAFD_CONNECT_INFO ConnectReq;
     AFD_DbgPrint(MID_TRACE,("Called on %x\n", FCB));
 
-    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
+    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, FALSE );
     if( !(ConnectReq = LockRequest( Irp, IrpSp )) ) 
 	return UnlockAndMaybeComplete( FCB, STATUS_NO_MEMORY, Irp, 
 				       0, NULL, TRUE );

reactos/drivers/net/afd/afd
context.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- context.c	18 Jul 2004 22:49:17 -0000	1.2
+++ context.c	18 Jul 2004 22:53:59 -0000	1.3
@@ -1,4 +1,4 @@
-/* $Id: context.c,v 1.2 2004/07/18 22:49:17 arty Exp $
+/* $Id: context.c,v 1.3 2004/07/18 22:53:59 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/context.c
@@ -20,7 +20,7 @@
     PAFD_FCB FCB = FileObject->FsContext;
     UINT ContextSize = IrpSp->Parameters.DeviceIoControl.OutputBufferLength;
 
-    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
+    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, TRUE );
 
     if( FCB->ContextSize < ContextSize ) ContextSize = FCB->ContextSize;
     
@@ -43,7 +43,7 @@
     PFILE_OBJECT FileObject = IrpSp->FileObject;
     PAFD_FCB FCB = FileObject->FsContext;
     
-    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
+    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, TRUE );
 
     if( FCB->ContextSize < 
 	IrpSp->Parameters.DeviceIoControl.InputBufferLength ) {

reactos/drivers/net/afd/afd
info.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- info.c	18 Jul 2004 22:49:17 -0000	1.2
+++ info.c	18 Jul 2004 22:53:59 -0000	1.3
@@ -1,4 +1,4 @@
-/* $Id: info.c,v 1.2 2004/07/18 22:49:17 arty Exp $
+/* $Id: info.c,v 1.3 2004/07/18 22:53:59 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/info.c
@@ -23,7 +23,7 @@
     AFD_DbgPrint(MID_TRACE,("Called %x %x\n", InfoReq, 
 			    InfoReq ? InfoReq->InformationClass : 0));
     
-    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
+    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, TRUE );
 
     switch( InfoReq->InformationClass ) {
     case AFD_INFO_RECEIVE_WINDOW_SIZE:

reactos/drivers/net/afd/afd
listen.c 1.2 -> 1.3
diff -u -r1.2 -r1.3
--- listen.c	18 Jul 2004 22:49:17 -0000	1.2
+++ listen.c	18 Jul 2004 22:53:59 -0000	1.3
@@ -1,4 +1,4 @@
-/* $Id: listen.c,v 1.2 2004/07/18 22:49:17 arty Exp $
+/* $Id: listen.c,v 1.3 2004/07/18 22:53:59 arty Exp $
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
  * FILE:             drivers/net/afd/afd/listen.c
@@ -32,7 +32,7 @@
 
     AFD_DbgPrint(MID_TRACE,("Called\n"));
 
-    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
+    if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp, TRUE );
     if( !(ListenReq = LockRequest( Irp, IrpSp )) ) 
 	return UnlockAndMaybeComplete( FCB, STATUS_NO_MEMORY, Irp, 
 				       0, NULL, FALSE );
CVSspam 0.2.8