[ros-diffs] [cgutman] 52422: [OSKITTCP] - Register for asynchronous buffer notifications from oskittcp which will fire when a packet is sent - Fixes sending pending packets that can't fit in the window and fix...

cgutman at svn.reactos.org cgutman at svn.reactos.org
Wed Jun 22 14:05:01 UTC 2011


Author: cgutman
Date: Wed Jun 22 14:05:01 2011
New Revision: 52422

URL: http://svn.reactos.org/svn/reactos?rev=52422&view=rev
Log:
[OSKITTCP]
- Register for asynchronous buffer notifications from oskittcp which will fire when a packet is sent
- Fixes sending pending packets that can't fit in the window and fixes the graceful shutdown hang

Modified:
    trunk/reactos/lib/drivers/oskittcp/oskittcp/interface.c

Modified: trunk/reactos/lib/drivers/oskittcp/oskittcp/interface.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/drivers/oskittcp/oskittcp/interface.c?rev=52422&r1=52421&r2=52422&view=diff
==============================================================================
--- trunk/reactos/lib/drivers/oskittcp/oskittcp/interface.c [iso-8859-1] (original)
+++ trunk/reactos/lib/drivers/oskittcp/oskittcp/interface.c [iso-8859-1] Wed Jun 22 14:05:01 2011
@@ -118,6 +118,8 @@
 {
     so->so_state |= SS_NBIO;
     so->so_options |= SO_DONTROUTE;
+    so->so_snd.sb_flags |= SB_SEL;
+    so->so_rcv.sb_flags |= SB_SEL;
 }
 
 /* From uipc_syscalls.c */




More information about the Ros-diffs mailing list