projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f184e6
)
- Move SocketAcquireStateLock out of SEH
author
Cameron Gutman
<aicommander@gmail.com>
Sat, 16 Aug 2008 15:06:12 +0000
(15:06 +0000)
committer
Cameron Gutman
<aicommander@gmail.com>
Sat, 16 Aug 2008 15:06:12 +0000
(15:06 +0000)
svn path=/branches/aicom-network-fixes/; revision=35393
drivers/network/afd/afd/info.c
patch
|
blob
|
history
diff --git
a/drivers/network/afd/afd/info.c
b/drivers/network/afd/afd/info.c
index
edd9029
..
5e233ef
100644
(file)
--- a/
drivers/network/afd/afd/info.c
+++ b/
drivers/network/afd/afd/info.c
@@
-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;