- Move SocketAcquireStateLock out of SEH

svn path=/branches/aicom-network-fixes/; revision=35393
This commit is contained in:
Cameron Gutman 2008-08-16 15:06:12 +00:00
parent 3f184e689d
commit 05a4dffa6e

View file

@ -24,12 +24,9 @@ AfdGetInfo( PDEVICE_OBJECT DeviceObject, PIRP Irp,
AFD_DbgPrint(MID_TRACE,("Called %x %x\n", InfoReq,
InfoReq ? InfoReq->InformationClass : 0));
_SEH_TRY {
if( !SocketAcquireStateLock( FCB ) ) {
Status = LostSocket( Irp );
_SEH_YIELD(return Status);
}
if( !SocketAcquireStateLock( FCB ) ) return LostSocket( Irp );
_SEH_TRY {
switch( InfoReq->InformationClass ) {
case AFD_INFO_RECEIVE_WINDOW_SIZE:
InfoReq->Information.Ulong = FCB->Recv.Size;