[TCPIP, IP]
authorCameron Gutman <aicommander@gmail.com>
Thu, 31 Dec 2009 23:33:24 +0000 (23:33 +0000)
committerCameron Gutman <aicommander@gmail.com>
Thu, 31 Dec 2009 23:33:24 +0000 (23:33 +0000)
commit8dd3966ba985aef3a1816c526537102f0c8b031c
treeb8caa887ce3d3d6012791e52127b6e05b9504516
parent175500c30baeb149f9434720fa15b7ad0135e5e2
[TCPIP, IP]
 - Completely rewrite (again) the locking code and use references to ensure that the connection doesn't get freed while completing requests (the most frequent cause of crashes)
 - Remove DrainSignals and complete requests inside HandleSignalledConnection instead of doing them in a separate thread (increases speed a lot)
[OSKITTCP]
 - Don't clear the socket context in OskitTCPClose because we would end up in HandleSignalledConnection without a connection (which we don't support anymore after eliminating DrainSignals)
 - Change the check performed to see if a socket is dying so we support connection dying after calling OskitTCPClose
[AFD]
 - Remove leftover ASSERTs which fail after the changes to tcpip (they were wrong in the first place because we call into tcpip at DISPATCH_LEVEL sometimes)

svn path=/branches/aicom-network-branch/; revision=44839
15 files changed:
drivers/network/afd/afd/read.c
drivers/network/afd/afd/write.c
drivers/network/afd/include/debug.h
drivers/network/tcpip/include/tcp.h
drivers/network/tcpip/include/titypes.h
drivers/network/tcpip/tcpip/dispatch.c
drivers/network/tcpip/tcpip/fileobjs.c
lib/drivers/ip/transport/datagram/datagram.c
lib/drivers/ip/transport/rawip/rawip.c
lib/drivers/ip/transport/tcp/accept.c
lib/drivers/ip/transport/tcp/event.c
lib/drivers/ip/transport/tcp/tcp.c
lib/drivers/ip/transport/udp/udp.c
lib/drivers/oskittcp/oskittcp/interface.c
lib/drivers/oskittcp/oskittcp/sleep.c