mirror of
https://github.com/reactos/reactos.git
synced 2025-02-25 01:39:30 +00:00
- Move SocketAcquireStateLock out of SEH
svn path=/branches/aicom-network-fixes/; revision=35393
This commit is contained in:
parent
3f184e689d
commit
05a4dffa6e
1 changed files with 2 additions and 5 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue