mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-03 04:13:31 +00:00
- Move SocketAcquireStateLock out of SEH
svn path=/branches/aicom-network-fixes/; revision=35393
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user